A text splitter specifically designed for LaTeX documents, attempting to preserve LaTeX structure within chunks. This is a wrapper around Langchain's LatexTextSplitter.
LatexTextSplitter
Creates an instance of LatexTextSplitter.
Parameters for the text splitter.
The maximum size of each text chunk.
The amount of overlap between consecutive text chunks.
Splits the given LaTeX text into chunks.
The input LaTeX text to be split.
A promise that resolves to an array of string chunks.
A text splitter specifically designed for LaTeX documents, attempting to preserve LaTeX structure within chunks. This is a wrapper around Langchain's
LatexTextSplitter
.