# NOTICE — where this data comes from, and under what licence

**The words in these files are not ours.** They come from the **Datuk corpus**, a Malayalam–Malayalam dictionary
published by **Olam** (Kailash Nadh) and maintained by the **Indic Digital Archive Foundation (IDAF)**, under the
**Open Database Licence 1.0 (ODbL-1.0)**.

- Source repository: `https://github.com/knadh/datuk` (`datuk.yaml`)
- Published download used: `https://olam.in/files/datuk.tar.gz`
- Project page: `https://olam.in/p/open/datuk`
- Foundation: `https://indicarchive.org`

## What SottoVox did

1. Read the headword column of the published TSV (`from_content`).
2. Normalised to NFC, dropped empties, de-duplicated: **83,389 unique Malayalam words**.
3. Front-coded and compressed that list.
4. Learned **73 word endings** from the corpus: for each token the dictionary does not know, remove a candidate ending
   and count the cases where a real headword remains. Each row carries the counts that justify it.

**Nothing in the source corpus was changed, and this is not a pull request against it.**

**Not included here, on purpose: the phonetic keys.** They are computed with **MLphone**
(`https://github.com/knadh/mlphone`), the author's own algorithm, **which declares no licence**. The file exists in our
workspace and will be published only with its author's agreement.

## Licence, stated exactly

- **These data files are a derived database and are licensed ODbL-1.0, the same licence as their source.** The full text
  is in `LICENSE-ODbL-1.0.txt` beside this file.
- **Attribution required:** Kailash Nadh and Olam, Indic Digital Archive Foundation.
- **Share-alike:** any public use of these files, or of a database built from them, must keep this licence and this
  attribution. `https://opendatacommons.org/licenses/odbl/1-0/`
- **The builder is separate and is MIT-licensed** (`tools/malayalam-lexicon.py` in the SottoVox repository).

## Attribution line, ready to copy

> Malayalam data from the Datuk corpus, published by Olam and the Indic Digital Archive Foundation. Licensed under the
> Open Database Licence 1.0. Derived files by SottoVox, under the same licence.
