The following is a list of translation rules for some common and not so common machine translation projects. This information was collected over several decades of writing tools to perform machine translation and should not be considered as
state of the art or complete.
If you have a rule set for a machine translator that you would like to see included here, please send them.
Swedish Chef Rules
- All paragraphs end in
Bork bork bork.
aby itself (word) is not translated
iin word becomes
enat end of word becomes
eat beginning of word with
theby itself (word) with
- If there is an
eat the end of a word, replace with
- Inside any word:
recursivelychanging the results other rules.
Pig Latin Rules
Brute Force Method
- If word starts with a vowel, add
- Otherwise move first letter to end and add
Note: The above method is trivial to code, but creates output that can be very hard to speak when multiple consonants are combined into a blend such as
Simple Spoken Method
- If word is
- If word starts with vowel, simply add
- Move first consonant sound (up to first vowel) to end of word and add
Special case for words starting with
qu, move pair to end and add
Optional formatting for easier reading and decoding, include hyphen (-) between remainder of root word and the new ending (e.g. pig latin becomes ig-pay atin-lay).