Back to LanguageTool Homepage - Privacy - Imprint

Error in detecting NNS and VBZ

I found the following error.
I wanted to determine the approximate time taken for each production steps.

The parser has tagged the last word ‘steps’ as only VBZ and not as NNS. Whereas even if I replaced it with ‘trees’, it identified it as VBZ.
It worked correctly if the last word was ‘cars’.
If anyone knows the fallacy, let me know.

You can use https://community.languagetool.org/analysis/index?lang=en - the disambiguator log will show what’s going on and point to the disambiguation rule that might need to be improved.

Disambiguator log:
VBD_VBN[1]: wanted[wanted/JJ,want/VBD,want/VBN,B-VP] -> wanted[want/VBD,B-VP]
TO_VB_PRP[1]: to[to/IN,to/TO,I-VP] -> to[to/TO,I-VP]
TO_VB_PRP[1]: determine[determine/VB,determine/VBP,I-VP] -> determine[determine/VB,I-VP]
DT_JJ_NN_JJ[1]: approximate[approximate/JJ,approximate/VB,approximate/VBP,I-NP-singular] -> approximate[approximate/JJ,approximate/VBP,I-NP-singular]
DT_JJ_NN_JJ[1]: approximate[approximate/JJ,approximate/VBP,I-NP-singular] -> approximate[approximate/JJ,I-NP-singular]
DT_JJ_NN_NN[1]: time[time/JJ,time/NN:UN,time/VB,time/VBP,E-NP-singular] -> time[time/NN:UN,E-NP-singular]
AN_NN_VBZNNS[1]: steps[step/NNS,step/VBZ,E-NP-plural] -> steps[step/VBZ,E-NP-plural]

The last disambiguator rule requires to be improved.

Partly fixed (https://github.com/languagetool-org/languagetool/commit/89c6fcbfec5db01f6e9fafaa5f07c463aacafbc7).

Although the disambiguation is better, the grammar rules do not give a message for the incorrect inflection ‘steps’ in “…the approximate time taken for each production steps.”

The rule does not disambiguate “Each man walks quickly.” I guess that is related to the exception in the second token. But, I don’t understand the exception and thus have not changed it.