Difference between revisions of "Ideas for Google Summer of Code/Weighted transfer rules"
Jump to navigation
Jump to search
Line 30: | Line 30: | ||
| || ''La canciller se reúne hoy con el presidente de EE UU para limar asperezas y preparar la cumbre del miércoles con Putin.'' || |
| || ''La canciller se reúne hoy con el presidente de EE UU para limar asperezas y preparar la cumbre del miércoles con Putin.'' || |
||
|- |
|- |
||
− | | 1 1 || The chancellor gathers today with [the U.S. president] for mend fences and prepare [the Wednesday summit] with Putin. || -74.55 |
+ | | 1 1 || The chancellor gathers today with [the U.S. president] for mend fences and prepare [the Wednesday summit] with Putin. || -74.55 || 10.93 |
|- |
|- |
||
− | | 2 1 || The chancellor gathers today with [the U.S.'s president] for mend fences and prepare [the Wednesday summit] with Putin. || -69.51 |
+ | | 2 1 || The chancellor gathers today with [the U.S.'s president] for mend fences and prepare [the Wednesday summit] with Putin. || -69.51 || 10.19 |
|- |
|- |
||
− | | 3 1 || The chancellor gathers today with [the president of the U.S.] for mend fences and prepare [the Wednesday summit] with Putin. || -74.47 |
+ | | 3 1 || The chancellor gathers today with [the president of the U.S.] for mend fences and prepare [the Wednesday summit] with Putin. || -74.47 || 10.91 |
|- |
|- |
||
− | | 1 2 || The chancellor gathers today with [the U.S. president] for mend fences and prepare [the Wednesday's summit] with Putin. || -75.02 |
+ | | 1 2 || The chancellor gathers today with [the U.S. president] for mend fences and prepare [the Wednesday's summit] with Putin. || -75.02 || 11.00 |
|- |
|- |
||
− | | 2 2 || The chancellor gathers today with [the U.S.'s president] for mend fences and prepare [the Wednesday's summit] with Putin. || -69.98 |
+ | | 2 2 || The chancellor gathers today with [the U.S.'s president] for mend fences and prepare [the Wednesday's summit] with Putin. || -69.98 || 10.26 |
− | |- |
+ | |- |
− | | 3 2 || The chancellor gathers today with [the president of the U.S.] for mend fences and prepare [the Wednesday's summit] with Putin. || -74.94 |
+ | | 3 2 || The chancellor gathers today with [the president of the U.S.] for mend fences and prepare [the Wednesday's summit] with Putin. || -74.94 || 10.98 |
|- |
|- |
||
− | | 1 3 || The chancellor gathers today with [the U.S. president] for mend fences and prepare [the summit of the Wednesday] with Putin. || -82.88 |
+ | | 1 3 || The chancellor gathers today with [the U.S. president] for mend fences and prepare [the summit of the Wednesday] with Putin. || -82.88 || 12.15 |
|- |
|- |
||
− | | 2 3 || The chancellor gathers today with [the U.S.'s president] for mend fences and prepare [the summit of the Wednesday] with Putin. || -77.84 |
+ | | 2 3 || The chancellor gathers today with [the U.S.'s president] for mend fences and prepare [the summit of the Wednesday] with Putin. || -77.84 || 11.41 |
|- |
|- |
||
− | | 3 3 || The chancellor gathers today with [the president of the U.S.] for mend fences and prepare [the summit of the Wednesday] with Putin. || -82.80 |
+ | | 3 3 || The chancellor gathers today with [the president of the U.S.] for mend fences and prepare [the summit of the Wednesday] with Putin. || -82.80 || 12.14 |
|- |
|- |
||
|} |
|} |
Revision as of 14:19, 9 February 2015
Example
Transfer rules:
ID | Rule | Input | Output |
---|---|---|---|
1 | de → | memoria de traducción | translation memory |
2 | de → 's | la hermana de mi novia | my girlfriend's sister |
3 | de → of | el estado de la cuestión | the state of the art |
Training
- Take a big corpus
- For each sentence:
- Apply transfer rules
- For each possible combination of transfer rules
- Translate the sentence and score on language model
- Each sentence gets a count 1. This count is shared between the transfer rules.
La canciller se reúne hoy con el presidente de EE UU para limar asperezas y preparar la cumbre del miércoles con Putin. | |||
1 1 | The chancellor gathers today with [the U.S. president] for mend fences and prepare [the Wednesday summit] with Putin. | -74.55 | 10.93 |
2 1 | The chancellor gathers today with [the U.S.'s president] for mend fences and prepare [the Wednesday summit] with Putin. | -69.51 | 10.19 |
3 1 | The chancellor gathers today with [the president of the U.S.] for mend fences and prepare [the Wednesday summit] with Putin. | -74.47 | 10.91 |
1 2 | The chancellor gathers today with [the U.S. president] for mend fences and prepare [the Wednesday's summit] with Putin. | -75.02 | 11.00 |
2 2 | The chancellor gathers today with [the U.S.'s president] for mend fences and prepare [the Wednesday's summit] with Putin. | -69.98 | 10.26 |
3 2 | The chancellor gathers today with [the president of the U.S.] for mend fences and prepare [the Wednesday's summit] with Putin. | -74.94 | 10.98 |
1 3 | The chancellor gathers today with [the U.S. president] for mend fences and prepare [the summit of the Wednesday] with Putin. | -82.88 | 12.15 |
2 3 | The chancellor gathers today with [the U.S.'s president] for mend fences and prepare [the summit of the Wednesday] with Putin. | -77.84 | 11.41 |
3 3 | The chancellor gathers today with [the president of the U.S.] for mend fences and prepare [the summit of the Wednesday] with Putin. | -82.80 | 12.14 |