javascript
javascript copied to clipboard
Exception words with full forms
PR: https://github.com/Yoast/javascript/pull/377
PR in premium-configuration: https://github.com/Yoast/YoastSEO.js-premium-configuration/pull/65
Many exception-words (from different word categories) have irregular forms that do not follow any established rule/patterns. These words are therefore united into one list in which all of their forms are indicated. This list is expected to be the first to be checked when creating forms of the word.
In the data file, this group is indicated as exceptionsAllPartsOfSpeech and consists of 2 groups: 1. "exceptionStemsWithFullForms": a list of stems and associated word forms. 2. "indeclinable": a list of words that do not change their form/which forms are identical.