# Word-family data

`../corner-forms.json` is a modified subset of the linguistic databases shipped
with [Simplemma 2.0.0](https://github.com/adbar/simplemma/tree/22a19bd457e332fd9b109ebf30ffdbb867d999ad).
It is used to recognize grammatical variants of the current corner words.

Modifications: restricted to the game's vocabulary, Unicode/case/spacing
normalization, multiword-phrase reconstruction, Italian reflexive-infinitive
lookup and explicit Dutch/Turkish corrections. No greedy stemming or synonym
expansion is used. Dictionary coverage is finite, not a complete morphological
analyzer. The source data and the modified JSON are made available together;
the corresponding upstream data licenses and attributions continue to apply.

The ODbL-derived database component is provided under the Open Database License
1.0. Other components retain their original terms. This notice covers the word
data, not the game's source code or artwork.

Upstream attribution (as documented by Simplemma):

- Michal Měchura, lemmatization lists — Open Database License.
- Wiktionary contributors, entries distributed by the Kaikki project.
- FreeLing project, linguistic resources and their original providers; see
  `FreeLing-COPYING.txt`, especially section 2b (data components).
- spaCy lookups data contributors.
- UniMorph project contributors.
- Eleni Metheniti, Wikinflection corpus — CC BY 4.0.
- Polish dictionary providers and copyright holders listed in `PL_License.txt`.
- O. Bilgin, Turkish linguistic resources referenced in `TR_Source.txt`.
- Adrien Barbaresi and Simplemma contributors — authoring software, MIT license.

The original upstream license/attribution files are included in this directory.
The editable generated data is at `../corner-forms.json`. The transformation
script and authored corrections are `prepare_inflections.py` and
`inflection-overrides.json` here. Reproduction additionally needs the public
`../corner-languages.json` vocabulary and the pinned Simplemma package.
