Difference between revisions of "Transfer rules"
(→Context-free removal) |
(→Add or remove words) |
||
| Line 5: | Line 5: | ||
=== Context-free removal === | === Context-free removal === | ||
* {{transferTest|eng|at a store|дүкенде}} | * {{transferTest|eng|at a store|дүкенде}} | ||
| − | *: {{transferMorphTest|eng|at{{tag|prp}} {{tag|det}} store{{tag|n}}{{ | + | *: {{transferMorphTest|eng|at{{tag|prp}} a{{tag|det}}{{tag|indef}} store{{tag|n}}{{tag|sg}}|дүкен{{tag|n}}{{tag|loc}}}} |
{{comment|TODO}} | {{comment|TODO}} | ||
| Line 15: | Line 15: | ||
Note that this goes hand-in-hand with the context-free removal of a tag, which can happen at any point. | Note that this goes hand-in-hand with the context-free removal of a tag, which can happen at any point. | ||
| − | |||
== Rearranging word order == | == Rearranging word order == | ||
Revision as of 00:53, 13 February 2017
The operations that can be performed by transfer rules are summarised here.
Contents
Add or remove words
Context-free removal
- (eng) дүкенде → (at a store) {{{4}}}
- (eng) дүкен<n><loc> → (at<prp> a<det><indef> store<n><sg>) {{{4}}}
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
TODO: дүкенде → at a/the store
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
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.