# spencermountain/compromise

modest natural-language processing

Repository: https://github.com/spencermountain/compromise
Canonical: https://ross.abutalabs.com/products/compromise
Homepage: http://compromise.cool
Language: JavaScript
License: MIT
License Family: permissive
Topics: nlp, part-of-speech, named-entity-recognition
Last push: 2026-08-23T19:22:50+00:00

## Health v2 (maintenance only)
Score: 93/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 81, longevity 100
- inputs: {"age_days": 5538, "days_push": 10, "days_rel": 50, "gap_med": 52, "n_releases_24m": 8}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 12149, forks 667 (observed 2026-08-28T04:10:51.869164+00:00)

## What it is
Compromise is a lightweight JavaScript natural-language processing library that turns text into structured data, doing part-of-speech tagging and named-entity recognition in the browser or Node. It makes fast, sensible, limited parsing decisions rather than aiming for heavyweight linguistic accuracy.

## Use cases
- extract names and places from text in the browser
- part-of-speech tag sentences in javascript
- parse user-generated text into structured data
- find dates and organizations in strings
- lightweight nlp without a server or ML model
- match patterns in english text

## When to choose
- you need fast, dependency-free NLP in JavaScript for English text
- you want POS tagging or entity extraction that runs in the browser
- you prefer pragmatic, predictable parsing over heavyweight ML models

## When to avoid
- you need high-accuracy NLP for languages other than English (community forks exist for some)
- you need deep dependency parsing or state-of-the-art transformer models
- you need multilingual support out of the box

## Facets
- artifact type: library
- maturity: active
- function: nlp, parser
- domain: developer-tools
- platform: browser
- tags: part-of-speech-tagging, named-entity-recognition, text-parsing, lightweight, natural-language-processing, nodejs, javascript

## Member repositories
- spencermountain/compromise (main) score 93

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:51.869164+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:14:54.046343+00:00, confidence not recorded.
  - readme: https://github.com/spencermountain/compromise (fetched 2026-08-28T04:10:51.869164+00:00, sha 0c7f7601af9d)
  - homepage: http://compromise.cool (fetched 2026-08-29T08:12:26.626207+00:00, sha 264ba9c14bfb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
