Discover and explore top open-source AI tools and projects—updated daily.
spencermountainJavaScript NLP toolkit for text data transformation
Top 4.4% on SourcePulse
Summary
Compromise is a JavaScript library for making natural language text data actionable. It targets developers needing efficient text processing, offering a lightweight and fast solution for parsing, tagging, and transforming text in browsers or Node.js. Its benefit lies in simplifying NLP tasks with sensible, limited decisions, making text usable without complex AI models.
How It Works
The library conjugates a core lexicon (~14,000 words), making "limited and sensible decisions" for speed and a small footprint. It tokenizes text, applies part-of-speech tagging, and grammar interpretation. Its modular design includes compromise/one (tokenizer), compromise/two (tagger), and compromise/three (phrase tooling).
Quick Start & Requirements
Install via npm install compromise. Designed for client-side JavaScript and Node.js, it's ~250kb minified. No advanced prerequisites are mentioned. Documentation is available at docs.compromise.cool.
Highlighted Details
/one, /two, /three) for tokenization, tagging, and phrase manipulation.Maintenance & Community
The project lists "many contributors" but lacks specific details on active maintenance, community channels, or a public roadmap.
Licensing & Compatibility
The README does not explicitly state a software license. This omission may hinder commercial adoption or integration into closed-source projects, requiring further investigation.
Limitations & Caveats
Key limitations include:
.match() calls for complex patterns.1 week ago
Inactive
finic-ai
fighting41love