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.
69 packages
This package provides 38 stemmers for 36 languages generated from Snowball algorithms.
cssselect parses CSS3 Selectors and translates them to XPath 1.0
Conversion between Traditional and Simplified Chinese
PDF Table Extraction for Humans.
Alternative regular expression module, to replace re.
Nearest Neighbor Descent
🦛 CHONK your texts with Chonkie ✨ - The no-nonsense chunking library
An ultra-fast implementation of BM25 based on sparse matrices.
Fast State-of-the-Art Static Embeddings
A modern CSS selector implementation for Beautiful Soup.
A markdown parser with high extensibility.
Parse human names into title, given, middle, family, suffix, nickname and maiden name. Typed, zero-dependency, CJK-aware.
Python bindings of Oxigraph, a SPARQL database and RDF toolkit
TF.Text is a TensorFlow library of text related ops, modules, and subgraphs.
Python library for the DeepL API.
Uses sqlglot to parse SQL queries and extract metadata
Fast probabilistic data linkage at scale
Gherkin parser (official, by Cucumber team)
Official Python bindings for the Tantivy search engine
Swift grammar for tree-sitter
Parse Python docstrings in reST, Google and Numpydoc format
Fast and robust extraction of original and updated publication dates from URLs and web pages.
Python version of Sudachi, the Japanese Morphological Analyzer
Streamlined Cython bindings for the harfbuzz shaping engine
inscriptis - HTML to text converter.
High-performance HTML to Markdown converter
A wrapper around re and regex that adds additional back references.
Sentence segmenter that supports ~300 languages
Chat template renderers — deterministic message-to-token conversion for LLM training
Parsers for ABNF grammars.