Rule-based machine translation
Rule-based machine translation (RBMT; "Classical Approach" of MT) is machine translation systems based on linguistic information about source and target languages basically retrieved from (unilingual, bilingual or multilingual) dictionaries and grammars covering the main semantic, morphological, and syntactic regularities of each language respectively. Having input sentences (in some source language), an RBMT system generates them to output sentences (in some target language) on the basis of morphological, syntactic, and semantic analysis of both the source and the target languages involved in a concrete translation task.
The first RBMT systems were developed in the early 1970s. The most important steps of this evolution were the emergence of the following RBMT systems:
- Systran (http://www.systran.de/)
- Japanese MT systems (http://aamt.info/english/mtsys.htm, http://www.wtec.org/loyola/ar93_94/mt.htm)
- EUROTRA (Eurotra)
Today, other common RBMT systems include:
Types of RBMT
There are three different types of rule-based machine translation systems:
- Direct Systems (Dictionary Based Machine Translation) map input to output with basic rules.
- Transfer RBMT Systems (Transfer Based Machine Translation) employ morphological and syntactical analysis.
- Interlingual RBMT Systems (Interlingua) use an abstract meaning.
RBMT systems can also be characterized as the systems opposite to Example-based Systems of Machine Translation (Example Based Machine Translation), whereas Hybrid Machine Translations Systems make use of many principles derived from RBMT.
The main approach of RBMT systems is based on linking the structure of the given input sentence with the structure of the demanded output sentence, necessarily preserving their unique meaning. The following example can illustrate the general frame of RBMT:
- A girl eats an apple. Source Language = English; Demanded Target Language = German
Minimally, to get a German translation of this English sentence one needs:
- A dictionary that will map each English word to an appropriate German word.
- Rules representing regular English sentence structure.
- Rules representing regular German sentence structure.
And finally, we need rules according to which one can relate these two structures together.
Accordingly, we can state the following stages of translation:
- 1st: getting basic part-of-speech information of each source word:
- a = indef.article; girl = noun; eats = verb; an = indef.article; apple = noun
- 2nd: getting syntactic information about the verb "to eat":
- NP-eat-NP; here: eat – Present Simple, 3rd Person Singular, Active Voice
- 3rd: parsing the source sentence:
- (NP an apple) = the object of eat
Often only partial parsing is sufficient to get to the syntactic structure of the source sentence and to map it onto the structure of the target sentence.
- 4th: translate English words into German
- a (category = indef.article) => ein (category = indef.article)
- girl (category = noun) => Mädchen (category = noun)
- eat (category = verb) => essen (category = verb)
- an (category = indef. article) => ein (category = indef.article)
- apple (category = noun) => Apfel (category = noun)
- 5th: Mapping dictionary entries into appropriate inflected forms (final generation):
- A girl eats an apple. => Ein Mädchen isst einen Apfel.
The RBMT system contains:
- a SL morphological analyser - analyses a source language word and provides the morphological information;
- a SL parser - is a syntax analyser which analyses source language sentences;
- a translator - used to translate a source language word into the target language;
- a TL morphological generator - works as a generator of appropriate target language words for the given grammatica information;
- a TL parser - works as a composer of suitable target language sentences;
- Several dictionaries - more specifically a minimum of three dictionaries:
- a SL dictionary - needed by the source language morphological analyser for morphological analysis,
- a bilingual dictionary - used by the translator to translate source language words into target language words,
- a TL dictionary - needed by the target language morphological generator to generate target language words.
The RBMT system makes use of the following:
- a Source Grammar for the input language which builds syntactic constructions from input sentences;
- a Source Lexicon which captures all of the allowable vocabulary in the domain;
- Source Mapping Rules which indicate how syntactic heads and grammatical functions in the source language are mapped onto domain concepts and semantic roles in the interlingua;
- a Domain Model/Ontology which defines the classes of domain concepts and restricts the fillers of semantic roles for each class;
- Target Mapping Rules which indicate how domain concepts and semantic roles in the interlingua are mapped onto syntactic heads and grammatical functions in the target language;
- a Target Lexicon which contains appropriate target lexemes for each domain concept;
- a Target Grammar for the target language which realizes target syntactic constructions as linearized output sentences.
- No bilingual texts are required. This makes it possible to create translation systems for languages that have no texts in common, or even no digitized data whatsoever.
- Domain independent. Rules are usually written in a domain independent manner, so the vast majority of rules will "just work" in every domain, and only a few specific cases per domain may need rules written for them.
- No quality ceiling. Every error can be corrected with a targeted rule, even if the trigger case is extremely rare. This is in contrast to statistical systems where infrequent forms will be washed away by default.
- Total control. Because all rules are hand-written, you can easily debug a rule based system to see exactly where a given error enters the system, and why.
- Reusability. Because RBMT systems are generally built from a strong source language analysis that is fed to a transfer step and target language generator, the source language analysis and target language generation parts can be shared between multiple translation systems, requiring only the transfer step to be specialized. Additionally, source language analysis for one language can be reused to bootstrap a closely related language analysis.
- Insufficient amount of really good dictionaries. Building new dictionaries is expensive.
- Some linguistic information still needs to be set manually.
- It is hard to deal with rule interactions in big systems, ambiguity, and idiomatic expressions.
- Failure to adapt to new domains. Although RBMT systems usually provide a mechanism to create new rules and extend and adapt the lexicon, changes are usually very costly and the results, frequently, do not pay off.
- Koehn, Philipp (2010). Statistical Machine Translation. Cambridge: Cambridge University Press. p. 15. ISBN 9780521874151.
- Nirenburg, Sergei (1989). "Knowledge-Based Machine Translation". Machine Trandation 4 (1989), 5 - 24. Kluwer Academic Publishers. 4 (1): 5–24. JSTOR 40008396.
- Hettige, B.; Karunananda, A.S. (2011). "Computational Model of Grammar for English to Sinhala Machine Translation". 2011 International Conference on Advances in ICT for Emerging Regions (ICTer). The International Conference on Advances in ICT for Emerging Regions - ICTer20 11 : 026-031. pp. 26–31. doi:10.1109/ICTer.2011.6075022. ISBN 978-1-4577-1114-5. Retrieved 20 June 2012.
- Lonsdale, Deryle; Mitamura, Teruko; Nyberg, Eric (1995). "Acquisition of Large Lexicons for Practical Knowledge-Based MT" (PDF). Machine Translation 9: 251-283. Kluwer Academic Publishers. 9 (3–4): 251–283. doi:10.1007/BF00980580. Retrieved 20 June 2012.
- Lagarda, A.-L.; Alabau, V.; Casacuberta, F.; Silva, R.; Díaz-de-Liaño, E. (2009). "Statistical Post-Editing of a Rule-Based Machine Translation System" (PDF). Proceedings of NAACL HLT 2009: Short Papers, pages 217–220, Boulder, Colorado. Association for Computational Linguistics. Retrieved 20 June 2012.
- Arnold, D.J. et al. (1993): Machine Translation: an Introductory Guide
- Hutchins, W.J. (1986): Machine Translation: Past, Present, Future
- First International Workshop on Free/Open-Source Rule-Based Machine Translation