The sentiment analysis grammars support polarity scoring. Polarity scoring is a number, usually between 0.50 and 1.50, that represents the strength of the sentiment in the matched phrase. For example:
You can edit the user modification files to increase the scores of words in the dictionaries. For example, add the following on a new line in the user modification file to modify the existing entry flexible
so that it has a score of 1.23
:
" <entry score="1.23" headword="flexible"/>"
NOTE: sentiment_basic_eng.ecr
does not support polarity scoring.
|