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.
719 packages
Python grammar for tree-sitter
TypeScript and TSX grammars for tree-sitter
JavaScript grammar for tree-sitter
This package provides 36 stemmers for 34 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.
(Soon to be) the fastest pure-Python PEG parser I could muster
Parse human-readable date/time text.
Python extension for computing string edit distances and similarities.
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.
Probabilistic data structures for processing and searching very large datasets
Extract/Replaces keywords in sentences.
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.
Rust grammar for tree-sitter
A simple, safe single expression evaluator library.
Simplified python article discovery & extraction.
"SLY - Sly Lex Yacc"
An extended [CommonMark](https://spec.commonmark.org/) compliant parser,
Go grammar for tree-sitter
LangExtract: A library for extracting structured data from language models
Alternative regular expression module, to replace re.
Compute distance between the two texts.
A Python NLP Library for Many Human Languages, by the Stanford NLP Group
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.
Hassle-free computation of shareable, comparable, and reproducible BLEU, chrF, and TER scores
PDF Table Extraction for Humans.
An unofficial Google Translate API for Python
Nearest Neighbor Descent