Elamur: **Mova** · [Parse](https://mova.elamur.ai/free/en/parse/) · [Research](https://md.research.elamur.ai/free/en/) · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Shryfti](https://md.shryfti.elamur.ai/free/en/)

[Mova](https://md.mova.elamur.ai/free/en/) · [this page in HTML](https://mova.elamur.ai/free/en/docs/tools/concepts/)

[Mova](https://md.mova.elamur.ai/free/en/) / [docs](https://md.mova.elamur.ai/free/en/docs/) / [tools](https://md.mova.elamur.ai/free/en/docs/tools/) / concepts — the cross-language concept inventory, English–French

# concepts — the cross-language concept inventory, English–French

`concepts` builds Mova's first concept inventory: shared concept ids per sense, the lemmas of each language for every concept, the senses one language splits and the other does not, per-language grammar facts, and the grammatical markers one language uses and the other does not. It is part of Mova's open dictionaries: the inventory is a data product beside the general dictionaries, and two of its files are layers the general dictionaries import.

## How it works

**Concepts** (`src/omw.rs`, `src/inventory.rs`). One concept per Princeton WordNet 3.0 synset of Open Multilingual Wordnet 2.0, named by its ILI id (`i46593`), unchanged and unprefixed, so other projects that use ILI ids line up one to one. The English lemmas come from OMW's English wordnet, the French ones from WOLF (OMW's French wordnet), joined on the ILI id. The gloss is the WordNet definition.

**Wiktionary** (`src/wikt.rs`). The French rows of the translation tables of the raw English Wiktionary dump: each `{{trans-top|GLOSS}}` table under a part of speech of the `==English==` section, with its `t`/`t+`/`tt`/`t-check` French terms and their genders; `checktrans` tables (not yet sorted into senses) are left out, `word/translations` subpages are read. Each table is linked to a synset of its headword by the first rule that decides:

| rule | links when |
| --- | --- |
| `fr-overlap` | one candidate synset shares the most French lemmas with the table |
| `fr-overlap+gloss` | several tie on French lemmas and one shares the most content words with the gloss |
| `mono` | the headword has one synset with this part of speech |
| `gloss` | one synset's definition and other English lemmas share at least two content words with the gloss, the most |
| `ambiguous` | tied on French lemmas, the gloss does not break it: no link, the tied synsets recorded |
| `unlinked`, `no-synset` | no rule decides, or the headword has no synset with this part of speech |

A linked table adds its French terms to the concept (source `wikt:page=…,rev=…`); a table with no link becomes a concept of its own, `mova:wikt-en:<page>:<POS>:<n>`. Wiktionary only adds what OMW lacks: it never renames a concept. A case-sensitive headword is looked up as written first (*cat*, not *CAT*). Markup left in a lemma (WOLF escapes some entities twice) is undone; a lemma whose markup cannot be undone is left out and counted.

**Splits.** The concept is the unit. A French distinction inside one synset is two French lemmas of one concept; a word that the other language splits over several concepts is listed in `splits-en-fr.tsv`: the word's concepts grouped by the other language's lemmas they share (*bank*: *banque, rive, côte* against *banc* against *rang*). *know* is not split in this version: WOLF lists *savoir* and *connaître* together in most of its synsets, so the two share one group; the Wiktionary tables keep them apart (`links-en-fr.tsv`), but each sits in a synset that already has both.

**Grammar** (`src/grammar.rs`). Gender of a French noun from Mova's inflection tables (`tools/forms`), then from the nouns of UD French GSD train, then from the genders of the Wiktionary translation templates; `feats_source` names which. Irregular forms from the inflection tables: for English the cells none of `forms`' spelling rules give, for French every cell differing from the lemma, as `form/FEATS` joined by `;`.

**Markers** (`src/markers.rs`). Counted on UD English EWT train and UD French GSD train (a file named `dev` or `test` is refused): feature pairs, dependency labels, base relations without the subtype, closed-class lemmas by their slot (UPOS and relation), and named function words with no counterpart word in the other language (French *en*, *y*, *soi*, *ne*; English possessive *'s* and infinitive *to*). A marker is `A-only` when the other treebank never has it, `A-mostly` at ten times the other's rate per thousand words, else `shared`.

**Negative control.** Every table is linked again with the French terms of another table of the same part of speech, and once with another table's gloss (`control.tsv`). A rule that fires as often on shifted terms as on the real ones links nothing real.

## Run

```
export CARGO_TARGET_DIR=...   # the shared target directory
cargo build --release -p concepts --offline
D=$MOVA_DATA/raw/wiktionary/enwiktionary/20260901
concepts wikt $D $MOVA_DATA/dictionaries/concepts/work/wikt-fr.tsv --threads 3      # about 8 minutes
concepts wikt $D /tmp/x.tsv --pages know,cat                                       # some pages only
concepts build $MOVA_DATA/dictionaries/concepts/en-fr-2026-11-16 \
  --omw $MOVA_DATA/raw/multi-omw/extracted-2.0/omw-2.0 \
  --wikt $MOVA_DATA/dictionaries/concepts/work/wikt-fr.tsv --forms $FORMS_TABLES \
  --en-train $UD/UD_English-EWT/en_ewt-ud-train.conllu \
  --fr-train $UD/UD_French-GSD/fr_gsd-ud-train.conllu --date 2026-11-16             # about 15 seconds
mova-dictionary migrate $OUT/dictionary-migrate.json NEW_REPORT                    # add the layers (state draft)
```

`OMW_DIR` is the unpacked `omw-2.0` folder of the OMW 2.0 release (`omw-en/`, `omw-fr/`). `build` refuses an existing output folder (a version is written once) and one inside a Git work tree (the output is CC BY-SA data), and refuses a French wordnet whose licence is non-commercial or research-only.

## Outputs

| file | content |
| --- | --- |
| `concepts-en-fr.tsv` | `concept_id lang lemma pos sense_gloss feats source forms feats_source confirmed`, one row per (concept, language, lemma); `confirmed` is `wiktionary` (a linked Wiktionary table lists the French lemma for this concept), `wolf-only` (French from WOLF alone), `pwn` (English from Princeton WordNet) or `mova` (a `mova:` concept) |
| `links-en-fr.tsv` | every Wiktionary table: headword, page, POS, number, gloss, rule, concept id, candidates, French terms, tied synsets |
| `splits-en-fr.tsv` | `from_lang lemma pos group concepts other_lemmas` for words split by the other language |
| `markers-en-fr.tsv` | `kind marker class` and per language count, rate per thousand words and distribution |
| `control.tsv` | tables per rule: real, French terms shifted, glosses shifted |
| `dict-en.tsv`, `dict-fr.tsv` | the bilingual concepts as records layers of the general dictionaries: sense = concept id, note = the source gloss quoted and the other language's lemmas, meaning empty (definitions are written in Mova's own words) |
| `dictionary-migrate.json` | the `mova-dictionary migrate` configuration for both layers |
| `report.md`, `manifest.json`, [Elamur Cosmic License](https://md.mova.elamur.ai/free/en/docs/LICENSE/), `LICENSE-*` | counts, coverage, control and sample; input and file SHA-256; licence and sources with their licence texts |

## Limits

- WOLF was built automatically from multilingual resources (Sagot and Fišer 2008) and carries their errors: a French word of a polysemous English word sits in unrelated synsets (*chat* in the synset of the CAT scan). A French lemma whose `source` names `wikt` is confirmed by a Wiktionary table (`confirmed` = `wiktionary`); `omw-fr` alone is `wolf-only` (*i1 able* → *comptable*).
- The rules link by lemma overlap and word overlap, with no gold set: the control shows the overlap rules are not chance, not that each link is right. `mono` is not tested by the control (it reads neither terms nor gloss).
- English Wiktionary glosses are short; many tables of polysemous words stay `ambiguous` or `unlinked` and become `mova:` concepts that may duplicate a synset.
- Gender from the treebank is the commonest of few tokens; Wiktionary genders are per term, not per sense.
- Marker classes compare two treebanks, so they show annotation conventions (EWT's `Degree=Pos`, GSD's `obl:mod`) as well as the languages. UD English GUM is left out: its licence is CC BY-NC-SA.
- English–French only; French has no spelling rules in `forms`, so its irregular forms come from tables alone.
- [← previous bench — one row of fixed measurements](https://md.mova.elamur.ai/free/en/docs/tools/bench/)
- [next → mova-correspondence — the relation-catalogue audit](https://md.mova.elamur.ai/free/en/docs/tools/correspondence/)
- [↑ back to tools](https://md.mova.elamur.ai/free/en/docs/tools/)

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://mova.elamur.ai/sitemap.xml) · [llms.txt](https://mova.elamur.ai/llms.txt)
