{"schemaVersion":1,"id":"compromise","name":"Compromise","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/compromise/","officialUrl":"https://github.com/spencermountain/compromise","isCatalog":false,"description":"A JavaScript NLP library with text parsing and transformations: it helps build language-aware search and user input processing locally.","tasks":["Add language-aware text processing in JavaScript","Parse test text through the NLP library and check extracted values or transformations"],"categoryIds":["backend"],"subcategoryIds":["backend.api"],"tags":["Compromise","API","Development"],"aliases":["spencermountain/compromise","compromise-nlp","natural-language-processing-compromise"],"platforms":[],"stack":[],"compatibility":null,"pricing":"free","freeUsage":"Code and local use under MIT.","paidUsage":"Computing resources, self-hosting, and external services are paid for separately if used.","license":"MIT for the code; dependencies have separate licenses.","selectionGuide":{"purpose":"Add language-aware text processing in JavaScript","chooseWhen":["Add language-aware text processing in JavaScript","Parse test text through the NLP library and check extracted values or transformations"],"considerInstead":[],"requirements":[],"limitations":["Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.","Terms of use: MIT for the code; dependencies have separate licenses.","Slashes are split as separate words; a tokenize-only build lacks full POS tagging and affects contraction parsing."],"faq":[{"question":"What can you use for free in Compromise?","answer":"Code and local use under MIT."},{"question":"What additional costs might arise with Compromise?","answer":"Computing resources, self-hosting, and external services are paid for separately if used."},{"question":"What terms of use matter for Compromise?","answer":"MIT for the code; dependencies have separate licenses."},{"question":"How do you get started with Compromise?","answer":"Define required English text entities or transformations. Parse test text through the NLP library and check extracted values or transformations. Add error handling and an integration check of the result."},{"question":"Which text matching forms does Compromise not support out of the box?","answer":"Parsing focuses on individual sentences: cross-sentence match requires a plugin. Nested regex-like patterns are replaced by sequential match calls; the README explicitly says dependency parsing is absent. Separate plugins add dates/durations, n-grams, and syllables."}],"related":[],"sources":["https://github.com/spencermountain/compromise","https://raw.githubusercontent.com/spencermountain/compromise/HEAD/README.md","https://raw.githubusercontent.com/spencermountain/compromise/HEAD/LICENSE","https://www.open-source-tools.com/"]},"selectionCheckedAt":null,"applicationGuide":{"goal":"Add language-aware text processing in JavaScript.","inputs":["A data contract or HTTP workflow.","A project with a supported runtime."],"steps":["Define required English text entities or transformations.","Parse test text through the NLP library and check extracted values or transformations.","Add error handling and an integration check of the result."],"checks":["Invalid and missing data are handled predictably.","Types and the actual response agree; errors are not hidden."]},"sources":["https://github.com/spencermountain/compromise","https://raw.githubusercontent.com/spencermountain/compromise/HEAD/README.md","https://raw.githubusercontent.com/spencermountain/compromise/HEAD/LICENSE","https://www.open-source-tools.com/"],"checkedAt":"2026-10-06","reviewScope":"The purpose, current repository license, and separate terms for code, services, and models have been reviewed. The product was not run, and no security audit was performed.","relatedIds":[],"dataVersion":"cbbe7123b47a5ae80983","type":"Backend / API library","kind":"library","pricingNote":"Code and local use under MIT. Computing resources, self-hosting, and external services are paid for separately if used.","notes":null,"labeledSources":[{"url":"https://github.com/spencermountain/compromise","label":"Official source"},{"url":"https://raw.githubusercontent.com/spencermountain/compromise/HEAD/README.md","label":"Official source"},{"url":"https://raw.githubusercontent.com/spencermountain/compromise/HEAD/LICENSE","label":"License"},{"url":"https://www.open-source-tools.com/","label":"Catalog / discovery source"}],"licenseGuides":[{"id":"mit","title":"MIT — permissive license","scope":null,"summary":"You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.","url":"https://opensource.org/license/mit"}],"entryIds":[],"composition":null}