Fin-emphasis
Detecting emphasized tokens for the Fin natural language processor.
What it detects
- Superlative adjectives:
greatest
,biggest
,fastest
...etc. - Superlative adverbs.
- Adverbs of emphasis:
audibly
,surely
,literally
...etc.
Installation
npm i --save fin-emphasis
Usage
;; ;;console.logresult;
The above example would give:
0 0 0 0 25 // emphasis on "wrong" caused by "demonstrably". 0 0 0 1 // emphasis on "biggest" because it's a superlative adjective. 0