Difference between revisions of "A long introduction to transfer rules"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
==Some formalities== |
==Some formalities== |
||
Before starting, it is important to give some idea of what we can't do, before explaining what we can. If you come at rule-learning expecting something else, then it's likely to be confusing. |
|||
* There are no recursive rules. Rules match fixed-length patterns. There is no optionality at the level of words. There is no way of saying one-or-more, it's just one. |
|||
==Lexical transfer and structural transfer== |
==Lexical transfer and structural transfer== |
Revision as of 15:57, 30 September 2012
Writing transfer rules seems to be tricky. People generally understand the basic concepts, but they struggle with the formalism. We think the formalism isn't that bad. And compared to many other formalisms,[1] it's fairly straightforward.
Some formalities
Before starting, it is important to give some idea of what we can't do, before explaining what we can. If you come at rule-learning expecting something else, then it's likely to be confusing.
- There are no recursive rules. Rules match fixed-length patterns. There is no optionality at the level of words. There is no way of saying one-or-more, it's just one.
Lexical transfer and structural transfer
Apertium 1
Otisla si tiho i bez pozdrava
Lexical transfer
Apertium 3
Resorni je ministar navlačio ljude, kaže sejte biljku zelenu i čudo će da bude
Lexical transfer
Notes
- ↑ e.g. Matxin, OpenLogos, ...