#176 · Primary category: NLP Tools & Text Processing
nlprule
A fast, low-resource Natural Language Processing and Text Correction library written in Rust.
Project last updated:05/23/23
GitHub Stars
670
Forks
44
Contributors
7
License
Apache-2.0
Why we included this project
nlprule is a Rust library, with Python bindings, that bundles LanguageTool's rule resources into a self-contained pipeline. You get sentence segmentation, part-of-speech tagging, lemmatization, chunking, and thousands of grammar rules without standing up a model server. The API is small: load a tokenizer and rules for a language, call correct() or suggest() on text, and read back the spans, replacements, and messages. Because it works from rules and lookups rather than machine learning, it stays light on resources and fits naturally as a pre- or post-processing step in front of larger models, or as a quiet background process in an application, even client-side via WebAssembly. For teams building editors or linters, it is a practical, embeddable alternative to calling an external correction service.
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 上百种预训练中文词向量