TextChunker Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Split text in chunks, attempting to leave meaning intact. For plain text, split looking at new lines first, then periods, and so on. For markdown, split looking at punctuation first, and so on.
public static class TextChunker
type TextChunker = class
Public Class TextChunker
- Inheritance
-
TextChunker
Methods
SplitMarkDownLines(String, Int32, TextChunker+TokenCounter) |
Split markdown text into lines. |
SplitMarkdownParagraphs(IEnumerable<String>, Int32, Int32, String, TextChunker+TokenCounter) |
Split markdown text into paragraphs. |
SplitPlainTextLines(String, Int32, TextChunker+TokenCounter) |
Split plain text into lines. |
SplitPlainTextParagraphs(IEnumerable<String>, Int32, Int32, String, TextChunker+TokenCounter) |
Split plain text into paragraphs. |