compromise icon indicating copy to clipboard operation
compromise copied to clipboard

modest natural-language processing

Results 120 compromise issues
Sort by recently updated
recently updated
newest added

`nlp('I will never do that').verbs().toInfinitive().all().out()` returns "I will do that" "I never do that" becomes "I not do that" which seems expected However never is deleted when never is proceeded...

bug
hmmm
priority

Using toSingular() results in loss of original case in the JSON term fields: Repro: `nlp('Those are Great Danes').nouns(0).toSingular().json()[0]` JSON output: ``` { "text": "Great dane", "normal": "great dane", "terms": [...

bug
next-release

I have a custom lexicon that links hashtags to tags. This worked in an older version of compromise (v11.14) but does not seem to be working in 13.11.4. ```js //...

hmmm

currently syllable results are normalized and lowercased. Often people want to hyphenize text inline, and this involves a weird mapping backward. I'm not sure what the best way to do...

hmmm
enhancement

Consider the match-syntax pattern: `before !(not|no|maybe|perhaps){0,9} after` Which could be described as: "the word _before_ followed by 0-9 words that can be anything except the words `(not|no|maybe|perhaps)`, followed by the...

yesss
enhancement

Is it possible to use the units from js-quantities? https://github.com/gentooboontoo/js-quantities/blob/master/src/quantities.js

kinda-big
yesss

[email protected] Noticed the lib is removing some symbols unexpectedly when running the `json` methods. Ex: ![image](https://user-images.githubusercontent.com/5072452/154269028-2d32a32e-1e29-4e09-b22b-235c61f9a5b7.png) The same issue happens with `foo[bar]` or `foo{bar}`. Expected behaviour: ``` nlp('foo{bar} foo').json() =>...

bug
hmmm

Is there any Turkish language support or how can i implement it

feature-request

I am not able to use these const nlp = require('compromise') nlp.extend(require('compromise-numbers')) in the react app. it shows nlp.extend is not a function. Similarly for emails() also it shows the...

Discussion

Consider the following examples: > "her book" -> "their book" > "It was her!" -> "It was them!" In the first example, "her" is possessive; in the second example, it...

ready
yesss
grammar
feature-request