Difference between revisions of "Transfer rules"
(→Add or remove words) |
(→Context-sensitive addition) |
||
Line 12: | Line 12: | ||
=== Context-sensitive addition === | === Context-sensitive addition === | ||
− | * {{transferTest|kaz|дүкенде|at the store}} | + | * {{transferTest|kaz|eng|дүкенде|at the store}} |
*: {{transferMorphTest|kaz|eng|дүкен{{tag|n}}{{tag|loc}}|at{{tag|prp}} a{{tag|det}}{{tag|def}} store{{tag|n}}{{tag|sg}}}} | *: {{transferMorphTest|kaz|eng|дүкен{{tag|n}}{{tag|loc}}|at{{tag|prp}} a{{tag|det}}{{tag|def}} store{{tag|n}}{{tag|sg}}}} | ||
Revision as of 02:35, 14 March 2017
The operations that can be performed by transfer rules are summarised here.
Contents
Add or remove words
Context-free removal
- (eng) дүкенде → (at the store) {{{4}}}
- (eng) at<prp> a<det><def> store<n><sg> → (kaz) дүкен<n><loc>
TODO
Note that this goes hand-in-hand with the context-sensitive addition of a tag, which will need to happen before the words are removed.
Context-sensitive addition
- (kaz) дүкенде → (eng) at the store
- (kaz) дүкен<n><loc> → (eng) at<prp> a<det><def> store<n><sg>
TODO
Note that this goes hand-in-hand with the context-free removal of a tag, which can happen at any point.
Rearranging word order
TODO: livres courts → short books
Note that this goes together with the context-free removal of a tag, which can happen at any point
TODO: short books → livres courts
Note that this goes together with the context-sensitive addition of a tag, which can happen at any point, but will be written differently depending on whether before or after this rule is applied
Changing tags
Simple context-free replacement
- (kir) бийлечүбүз → (spa) bailabamos
- (kir) бийле<v><iv><pih><p1><pl> → (spa) baila<vblex><iv><pih><p1><pl>
TODO
Context-free removal
TODO: livres courts → short books
Note that this goes together with the rearranging of the words, which can happen at any time in relation to the tag removal.
Context-sensitive addition
TODO: short books → livres courts
Note that this goes together with the rearranging of the words, which can happen at any time in relation to the tag addition.