spencermountain / compromise

modest natural-language processing
http://compromise.cool
MIT License
11.41k stars 655 forks source link

NER threshold #573

Closed torava closed 5 years ago

torava commented 5 years ago

Some libraries like node-nlp allow defining detection threshold for NER. For instance spederman can be matched as spiderman. Is it possible in compromise because in some cases it can be too strict?

spencermountain commented 5 years ago

hi @torava yes, we make the assumption that the text is always correct. maybe this should be added to the docs somewhere. .topics() will return only people+places+organizations.