A text chunking method, apparatus, device and storage medium

By constructing a semantic tree of Markdown documents and applying multi-strategy adaptive chunking rules, semantic anchors are extracted and the strength of semantic associations between chunks is quantified. Cross-chunk semantic links and chunk relationship graphs are established, solving the problem of lost semantic associations between chunks in existing technologies. This improves the information integration capabilities of the RAG system and generates more coherent and accurate answers.

CN122412552APending Publication Date: 2026-07-17GUANGZHOU FANGZHOU INFORMATION TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610674578.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-05-15
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

Existing technologies ignore the semantic structure information of Markdown documents during text segmentation, resulting in the truncation of important semantic units, the merging of irrelevant content, a mismatch between the segmentation granularity and downstream vector retrieval tasks, and the complete severing of semantic connections between blocks. This leads to fragmented content retrieved by the RAG system and a lack of coherence in answer generation.

Method used

By constructing a semantic tree of a Markdown document, applying multi-strategy adaptive block division rules, extracting semantic anchors and calculating the semantic association strength between blocks, establishing cross-block semantic links and block relationship graphs, and forming an interconnected semantic relationship network.

Benefits of technology

It improves the coherence and completeness of the generated content, enabling the RAG system to effectively recall context related to the semantics of the matching block and generate more accurate and logical answers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122412552A_ABST
    Figure CN122412552A_ABST
Patent Text Reader

Abstract

本发明公开了一种文本分块方法、装置、设备及存储介质,本发明在分块的同时提取语义锚点并量化块间语义关联强度,建立显式的跨块语义链接和块关系图,将原本孤立的文本块组织为一个相互关联的语义关系网络。在进行信息检索时,系统不仅可以根据查询匹配单个文本块,还能利用块关系图进行邻域扩展或图遍历,有效召回与匹配块语义相关的上下文块。这从根本上解决了现有技术中跨块信息整合能力差的问题,使得RAG系统能够获得更完整、连贯的上下文,从而生成更准确、更符合逻辑的答案。
Need to check novelty before this filing date? Find Prior Art