Text & NLP
Natural language processing, text processing, tokenization, language detection, translation, regular expressions and fuzzy string matching.
Natural language processing, text processing, tokenization, language detection, translation, regular expressions and fuzzy string matching.
271 packages
TypeScript and TSX grammars for tree-sitter
JavaScript grammar for tree-sitter
This package provides 38 stemmers for 36 languages generated from Snowball algorithms.
Approximate Nearest Neighbors in C++/Python optimized for memory usage and loading/saving to disk.
Modules to convert numbers to words. Easily extensible.
Python extension for computing string edit distances and similarities.
Parse human-readable date/time text.
(Soon to be) the fastest pure-Python PEG parser I could muster
cssselect parses CSS3 Selectors and translates them to XPath 1.0
Conversion between Traditional and Simplified Chinese
cChardet is high speed universal character encoding detector.
Rust grammar for tree-sitter
Extract/Replaces keywords in sentences.
Probabilistic data structures for processing and searching very large datasets
pyahocorasick is a fast and memory efficient library for exact or approximate multi-pattern string search. With the ``ahocorasick.Automaton`` class, you can find multiple key string occurrences at once in some input text. You can use it as a plain dict-like Trie or convert a Trie to an automaton for efficient Aho-Corasick search. And pickle to disk for easy reuse of large automatons. Implemented in C and tested on Python 3.6+. Works on Linux, macOS and Windows. BSD-3-Cause license.
A simple, safe single expression evaluator library.
"SLY - Sly Lex Yacc"
An extended [CommonMark](https://spec.commonmark.org/) compliant parser,
Go grammar for tree-sitter
PDF Table Extraction for Humans.
Alternative regular expression module, to replace re.
Compute distance between the two texts.
VADER Sentiment Analysis. VADER (Valence Aware Dictionary and sEntiment Reasoner) is a lexicon and rule-based sentiment analysis tool that is specifically attuned to sentiments expressed in social media, and works well on texts from other domains.
Nearest Neighbor Descent
Hassle-free computation of shareable, comparable, and reproducible BLEU, chrF, and TER scores
An accurate natural language detection library, suitable for short text and mixed-language text
The most basic Text::Unidecode port
C++ grammar for tree-sitter
C grammar for tree-sitter
Python extension for computing string edit distances and similarities.