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.
627 packages
Chat template renderers — deterministic message-to-token conversion for LLM training
A slug generator that turns strings into unicode slugs.
matplotlibのフォント設定を自動で日本語化する
A python module for English lemmatization and inflection.
Time expression parser.
Regex grammar for tree-sitter
Hunspell ported to pure Python
Provides Python bindings for popular Information Retrieval measures implemented within trec_eval.
uroman is a universal romanizer. It converts text in any script to the standard Latin alphabet.
Chinese Province, City and Area Recognition Utilities
A Japanese tokenizer based on recurrent neural networks
Micro-library to normalize text strings
a Python implementation of the Unicode Collation Algorithm
publicsuffixlist implement
Python module that identifies Chinese text as Simplified or Traditional.
Get list of common stop words in various languages in Python
A collection of accessible pygments styles
sentence segmentation and word tokenization tools
cChardet is high speed universal character encoding detector.
Fast and zero-dependency lemmatization, tokenization and sentence splitting for 54 languages.
A simple interface for the CMU pronouncing dictionary
A library implementing different string similarity and distance measures
Mailgun library to extract message quotations and signatures.
A lexer and codec to work with LaTeX code in Python.
Splits russian text into tokens, sentences, section. Rule-based
Find strings/words in text; convenience and C speed
TLSH (C++ Python extension)
This is a text generation method which returns a generator, streaming out each token in real-time during inference, based on Huggingface/Transformers.
A pure Python Levenshtein implementation that's not freaking GPL'd.
AntroPy: entropy and complexity of time-series in Python