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.
303 packages
Search for multiple substrings at the same time, and quickly too
TatSu takes a grammar in a variation of EBNF as input, and outputs a memoizing PEG/Packrat parser in Python.
Tokenize your documents at GB/s
A Powershell grammar for tree-sitter
Kiwi, the Korean Tokenizer for Python
A fast C-implemented library for Levenshtein distance
High-performance HTML to Markdown converter
A Fast, spec compliant Python 3.14+ tokenizer that runs on older Pythons.
HTML parser based on the WHATWG HTML specification
A Python toolkit for reproducible information retrieval research with sparse and dense representations
Python bindings for Hyperscan.
A currency converter using the European Central Bank data.
ISO 639 language codes, names, and other associated information
CoNLL-U Parser parses a CoNLL-U formatted string into a nested python dictionary
Fortran grammar for tree-sitter
Tool for extracting legal citations from text strings.
Fork of the language identification tool langid.py, featuring a modernized codebase and faster execution times.
HuggingFace library to process and filter large amounts of webdata
Greenery allows manipulation of regular expressions
Python interface to the Google WebRTC Voice Activity Detector (VAD) [released with binary wheels!]
Parse and convert numbers written in French, Spanish, English, Portuguese, German, Dutch, Danish, or Italian into their digit representation.
A wrapper around re and regex that adds additional back references.
Sentence segmenter that supports ~300 languages
Unicodedata backport updated to the latest Unicode version.
Chat template renderers — deterministic message-to-token conversion for LLM training
A Japanese tokenizer based on recurrent neural networks
GiNZA, An Open Source Japanese NLP Library, based on Universal Dependencies
Fast and zero-dependency lemmatization, tokenization and sentence splitting for 54 languages.
A library implementing different string similarity and distance measures
Tools for transcribing languages into IPA.