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(Difference between revisions)
Jump to: navigation, search
(Determiner Noun)
m (Determiner Noun)
Line 9: Line 9:
=== Determiner Noun ===
=== Determiner Noun ===
<table class="wikitable" style="tab-size: 3;">
<table class="wikitable" style="tab-size: 2.5;">
<tr rowspan="2.5"><td><pre>
<tr rowspan="3"><td><pre>
<rule comment="REGLA: det noun">
<rule comment="REGLA: det noun">

Revision as of 21:00, 11 April 2019


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><clip pos="2" side="tl" part="a_num"/></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="a_num"/>
					<lit-tag v="4"/><!-- case -->
relevant categories:
relevant attributes:
<def-attr n="a_num">
	<attr-item tags="sg"/>
	<attr-item tags="pl"/>
	<attr-item tags="ND"/>
pattern matches:I did not see the houses.
Personal tools