Apertium has moved from SourceForge to GitHub.
If you have any questions, please come and talk to us on #apertium on irc.freenode.net or contact the GitHub migration team.

User:Firespeaker/Transfer rule example

From Apertium
< User:Firespeaker
Revision as of 21:49, 11 April 2019 by Firespeaker (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Input text

  • "I did not see the houses."

Output of tagger


Determiner Noun

	<rule comment="REGLA: det noun">
			<pattern-item n="definites"/>
			<pattern-item n="noun"/>
				<chunk name="n" case="caseFirstWord">
						<tag><lit-tag v="SN"/></tag>
						<tag><lit-tag v="def"/></tag>
						<tag><lit-tag v="CD"/></tag>
						<clip pos="2" side="tl" part="lem"/>
						<clip pos="2" side="tl" part="pos"/>
						<clip pos="2" side="tl" part="num"/>
						<clip pos="2" side="tl" part="poss"/>
						<clip pos="2" side="tl" part="frm"/>
						<lit-tag v="3"/><!-- case -->
pattern matches:I did not see the houses.
Personal tools