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.
231 packages
Easy-to-use parser combinators, for parsing in pure Python
A Python library for splitting text into smaller chunks while preserving as much local semantic context as possible.
LLM framework to build customizable, production-ready LLM applications. Connect components (models, vector DBs, file converters) to pipelines or agents that can interact with your data.
Python SHACL Validator
SacreMoses
Tools for labeling human languages with IETF language tags
Thai Natural Language Processing library
Gherkin parser (official, by Cucumber team)
Parse Python docstrings in reST, Google and Numpydoc format
Fast, non-autoregressive System 1 decision engine with calibrated probabilities
MWParserFromHell is a parser for MediaWiki wikicode
Fast and robust extraction of original and updated publication dates from URLs and web pages.
Apache Tika Python library
Module for automatic summarization of text documents and HTML pages.
XPath 1.0/2.0/3.0/3.1 parsers and selectors for ElementTree and lxml
Python Wrapper for Wikipedia
Snowball stemming algorithms, for information retrieval
Python SymSpell
Portable mixed-precision math, linear-algebra, & retrieval library with 2000+ SIMD kernels for x86, Arm, RISC-V, LoongArch, Power, & WebAssembly
Zhon provides constants used in Chinese text processing.
Meta-language for DSL implementation inspired by Xtext
inscriptis - HTML to text converter.
Convert Chinese numerals and Arabic numerals.
A library implementing different string similarity and distance measures
Extract price and currency from a raw string
Janome is a Japanese morphological analysis engine written in pure Python.
fuzzysearch is useful for finding approximate subsequence matches
BERTopic performs topic Modeling with state-of-the-art transformer models.
Efficient few-shot learning with Sentence Transformers
TatSu takes a grammar in a variation of EBNF as input, and outputs a memoizing PEG/Packrat parser in Python.