[en] Chunker improvement

Is it possible change the behaviour of the chunker? (If yes, I will make an enhancement request and assign myself).

With a plural noun in a singular noun phrase, the chunker incorrectly gives the last word the chunk E-NP-plural. Some examples:

The aircraft maintenance manager is in the hangar.
Does your box converter operate correctly?
The happy sheep is grazing in the field.
The shiny new aircraft was on the runway.
I’d like a fish pie and a kilo of sprouts.

(Only a very small proportion of plural noun phrases end with a singular noun. Example, ‘sergeants major’: Sergeants major Definition & Meaning - Merriam-Webster).

1 Like

Please open an issue. I have no idea how feasible this change is without looking at it closely.

Done: [en] Chunker improvement · Issue #7044 · languagetool-org/languagetool · GitHub

1 Like