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.
132 packages
Python framework for fast Vector Space Modelling
HTML parser based on the WHATWG HTML specification
Various BM25 algorithms for document ranking
A little word cloud generator
Modules to convert numbers to words. Easily extensible.
(Soon to be) the fastest pure-Python PEG parser I could muster
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.
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
An unofficial Google Translate API for Python
An accurate natural language detection library, suitable for short text and mixed-language text
Cython wrapper for the C++ translation of the Angus Johnson's Clipper library (ver. 6.4.2)
Parse US addresses using conditional random fields
HuggingFace library for verifying mathematical answers
Unicode to ASCII transliteration
Define boolean algebras, create and parse boolean expressions and create custom boolean DSL.
Pure-Python Japanese character interconverter for Hiragana, Katakana, Hankaku, Zenkaku and more
Python Port of John Gruber's titlecase.pl
Parse Python docstrings in reST, Google and Numpydoc format
Extract datetime objects from natural language text
Cython MeCab wrapper for fast, pythonic Japanese tokenization.
Python wrapper for the MeCab morphological analyzer for Japanese
Python bindings for the Enchant spellchecking system
Structured Text Generation in Rust
Keyword extraction Python package
Ultra lite & Super fast SoTA cross-encoder based re-ranking for your search & retrieval pipelines.
Python wrapper for Mozilla's Readability.js
Lua grammar for tree-sitter
Convert Chinese numerals and Arabic numerals.
Interactive topic model visualization. Port of the R package.