Setting up a build environment for a language pair

From Apertium
Revision as of 22:05, 29 January 2013 by Francis Tyers (talk | contribs) (Created page with ' ==Prerequisites== * All the language data files: ** Monolingual dictionaries ** Bilingual dictionary ** Transfer rule files ** modes file ==The general steps== You need…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Prerequisites

  • All the language data files:
    • Monolingual dictionaries
    • Bilingual dictionary
    • Transfer rule files
    • modes file

The general steps

You need a Makefile.am which contains the build rules, and a configure.ac which contains the dependencies.

The configure.ac I would just take from an existing package. They're all pretty much the same.

The Makefile.am really depends on your configuration. E.g.

  • Bidirectional?
  • Variants?
  • 3-level or 1-level transfer?

Mandatory files for autotools: NEWS README ChangeLog AUTHORS COPYING