Skip to content

FreeDict HOWTO – Validating Tei Dictionaries

Sebastian Humenda edited this page Dec 19, 2017 · 2 revisions

title: FreeDict HOWTO - Validating TEI dictionaries

Validating TEI dictionaries

Before releasing a new version, you should validate your dictionary. This makes sure that the markup is correct, both on a syntactic and to some extent also on a semantic level. This requires a FreeDict RNG schema to be present in the same directory as your dictionary. This is usually the case and is often a symlink to the directory called shared.

The validation is started by issuing

$ make validation

A valid TEI file isn't necessarily a guarantee for a good dictionary. Therefore, a few helper scripts check the content of the dictionary and report problems. To run these, just execute

$ make qa

Qa stands for quality assurance and also includes the validation target.