Moses Rules

A translation system needs a consistent way to handle punctuation without breaking abbreviations and other language-specific forms. Moses tokenization combines general splitting rules with exceptions for those cases.

14 sections · 15 questions · 4 coding challenges

1 / 14

How Could a Translation System Compare Text Consistently?

BOTIE

A statistical translation system learns from recurring pieces of text. If a word beside a comma is treated differently from the same word elsewhere, its evidence becomes fragmented. But blindly separating every period would damage abbreviations and numbers.

Moses, presented in 2007 as an open-source statistical machine translation toolkit, came with practical text-processing tools. Its tokenizer applied punctuation rules and language-specific conventions so that training and translation could use compatible units.

The idea is to make boundary decisions explicit and repeatable. Separate punctuation where the rules require it, preserve recognised exceptions, and use the same preparation for later inputs. These decisions affect the counts and alignments a translation model learns. Moses-style tokenisation is consequently a particular collection of conventions, not a guarantee that all languages or all punctuation can be handled identically.

Sources for this history