Hi,
I’m using languagetool version 4.1 in my project. I need to identify plural words from the user inputted strings. Below are few examples:
If the input is ‘Score’, then I want output as non-plural or some indication which helps me decide the plurals. For input as ‘Scores’, the output should be plural.
Similarly ‘ProductScore’ is singular whereas ‘ProductScores’ is plural.
So far I tried using Chunktags and POStags, but unable to achieve the desired result. Thanks for the help!!!
Thanks Daniel. But, this seems weird to me. Terms ‘Score’ and ‘Scores’ have NNS as one of its Tags. POS for these terms are B-NP-Plural and E-NP-Plural. Similarly, tags and POS for ‘ProductScore’ and ‘ProductScores’ indicate both as Singular whereas ‘ProductScores’ should be plural.