User:Firespeaker/Cleaning up a tail

From Apertium
Jump to navigation Jump to search

The problem

File:Religion.unk.png
Zipf's law seen in the unknown words from two Turkic corpora

Due to Zipf's law, there's a huge tail of unknown words when running coverage. This effect is compounded in languages with high levels of morphological complexity—i.e., a small handful of unknown stems can result in hundreds of unknown forms.

If some of these stems could be interpolated from all of their forms, transducer coverage could be increased much more quickly.

A proposed solution

  1. Convert transducer to use a wildcard for a certain lemma category (especially nouns and verbs)
  2. Run coverage on unknown words list
  3. The top of the hitparade should include the most common unknown stems
  4. Verify before adding to dictionary