Input

Load text from:

Rules

Source Target

Parameters

Host Port

Feature weights
lm_0
WordPenalty
PhrasePenalty
OOVPenalty

Instructions

Adding rules

To enter a rule, type its source and target sides in the boxes above. For example, you might enter:

source="ne peux pas" target="can't"

Then click "Add Rule" to have the rule added. The rule will appear in the list above, and any data in the input box on the first tab will be retranslated.

For more advanced usage, you can add hierarchical rules. These are rules with a variable inside them. The variable serves as a substitution point for the source and target sides. For example:

source="ne X pas" target="do not X"

X here will be replaced with another phrase pair that you have entered. If you have another entry for "veux" and "want", for example, the decoder can use these two rules to translate the source phrase "do not want".

Up to two variables are permitted: X and Y.

Output