[PR #345] [MERGED] Update chunking-and-cleaning-text.mdx #447

Closed
opened 2026-02-16 06:15:33 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-docs/pull/345
Author: @sunshinesDL
Created: 7/21/2025
Status: Merged
Merged: 10/31/2025
Merged by: @RiskeyL

Base: mainHead: patch-1


📝 Commits (2)

  • 2003ae4 Update chunking-and-cleaning-text.mdx
  • af8722f correct, update, and remove expired content

📊 Changes

3 files changed (+22 additions, -22 deletions)

View changed files

📝 en/guides/knowledge-base/create-knowledge-and-upload-documents/chunking-and-cleaning-text.mdx (+6 -6)
📝 ja-jp/guides/knowledge-base/create-knowledge-and-upload-documents/chunking-and-cleaning-text.mdx (+8 -8)
📝 zh-hans/guides/knowledge-base/create-knowledge-and-upload-documents/chunking-and-cleaning-text.mdx (+8 -8)

📄 Description

非常感谢作者无私贡献的说明文档!在阅读本章过程中,我发现原文 '通用模式' 小节中,关于 '分段标识符' 的解释中描述如下:
分段标识符,默认值为 \n,即按照文章段落进行分块。你可以遵循正则表达式语法自定义分块规则,系统将在文本出现分段标识符时自动执行分段。例如 的含义是按照句子进行分段。
例如 后好像缺少了转义字符,这里补充正则表达式 (?<=[.!?])\s+ 以查找句子结束标点(., !, ?)后的空白字符,从而按照句子分段。

此外,在 "父子模式" 小节中,以下内容好像也遗漏了转义字符:
在子分段内填写以下分段设置: 分段标识符,默认值为 ,即按照句子进行分段。你可以遵循正则表达式语法自定义分块规则,系统将在文本出现分段标识符时自动执行分段。
这里补充 \.|\!|\? 作为按句子分段的标识符,供作者审核。


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify-docs/pull/345 **Author:** [@sunshinesDL](https://github.com/sunshinesDL) **Created:** 7/21/2025 **Status:** ✅ Merged **Merged:** 10/31/2025 **Merged by:** [@RiskeyL](https://github.com/RiskeyL) **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (2) - [`2003ae4`](https://github.com/langgenius/dify-docs/commit/2003ae4a1f5a4e6bc2c249b5b4a64a371eb38767) Update chunking-and-cleaning-text.mdx - [`af8722f`](https://github.com/langgenius/dify-docs/commit/af8722ff261fc2c07deda79b2c04c1a0af120806) correct, update, and remove expired content ### 📊 Changes **3 files changed** (+22 additions, -22 deletions) <details> <summary>View changed files</summary> 📝 `en/guides/knowledge-base/create-knowledge-and-upload-documents/chunking-and-cleaning-text.mdx` (+6 -6) 📝 `ja-jp/guides/knowledge-base/create-knowledge-and-upload-documents/chunking-and-cleaning-text.mdx` (+8 -8) 📝 `zh-hans/guides/knowledge-base/create-knowledge-and-upload-documents/chunking-and-cleaning-text.mdx` (+8 -8) </details> ### 📄 Description 非常感谢作者无私贡献的说明文档!在阅读本章过程中,我发现原文 '通用模式' 小节中,关于 '分段标识符' 的解释中描述如下: `分段标识符,默认值为 \n,即按照文章段落进行分块。你可以遵循正则表达式语法自定义分块规则,系统将在文本出现分段标识符时自动执行分段。例如 的含义是按照句子进行分段。` `例如` 后好像缺少了转义字符,这里补充正则表达式 `(?<=[.!?])\s+` 以查找句子结束标点(., !, ?)后的空白字符,从而按照句子分段。 此外,在 "父子模式" 小节中,以下内容好像也遗漏了转义字符: `在子分段内填写以下分段设置: 分段标识符,默认值为 ,即按照句子进行分段。你可以遵循正则表达式语法自定义分块规则,系统将在文本出现分段标识符时自动执行分段。` 这里补充 `\.|\!|\?` 作为按句子分段的标识符,供作者审核。 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 06:15:33 -05:00
yindo closed this issue 2026-02-16 06:15:33 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-docs#447