#116 · Primary category: NLP Tools & Text Processing
semchunk
A fast, lightweight and easy-to-use Python library for splitting text into semantically meaningful chunks.
Project last updated:06/13/26
GitHub Stars
664
Forks
44
Contributors
6
License
MIT
Why we included this project
Retrieval pipelines and document indexers share an awkward middle step: turning long text into model-ready chunks without slicing through a sentence mid-thought. semchunk handles that split with a deliberately small API. You build a chunker once, then run it over single texts or whole batches, with optional overlap and offsets, and multiprocessing for large corpora. It works with whatever tokenizer you already use, whether that is Tiktoken, Hugging Face Transformers, or a simple custom counter, so it does not lock you into a particular model stack. Teams that want predictable, dependency-light chunking without adopting a heavier framework will find it drops into an existing pipeline quickly, and the optional AI-powered mode adds model-guided boundaries without changing your core setup.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
flair
A very simple framework for state-of-the-art Natural Language Processing (NLP)
compromise
modest natural-language processing
tokenizers
💥 Fast State-of-the-Art Tokenizers optimized for Research and Production
CoreNLP
CoreNLP: A Java suite of core NLP tools for tokenization, sentence segmentation, NER, parsing, coreference, sentiment analysis, etc.
Chinese-Word-Vectors
100+ Chinese Word Vectors 上百种预训练中文词向量