User:Firespeaker/Transfer rule example
< User:Firespeaker
Jump to navigation
Jump to search
Revision as of 15:04, 24 April 2019 by Firespeaker (talk | contribs) (→Determiner Noun: attempts at color and formatting :()
Input text[edit]
- "I did not see the houses."
Output of tagger[edit]
Chunker[edit]
Determiner Noun[edit]
rule | property | information |
---|---|---|
<rule comment="REGLA: det noun"> <pattern> <pattern-item n="definites"/> <pattern-item n="noun"/> </pattern> <action> <out> <chunk name="n" case="caseFirstWord"> <tags> <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> </tags> <lu> <clip pos="2" side="tl" part="lem"/> <clip pos="2" side="tl" part="<span span="color: red;">a_pos</span>"/> <clip pos="2" side="tl" part="a_num"/> <lit-tag v="4"/><!-- case --> </lu> </chunk> </out> </action> </rule> |
pattern matches: | I did not see the houses. |
relevant categories: | ||
relevant attributes: | <def-attr n="a_num"> <attr-item tags="sg"/> <attr-item tags="pl"/> <attr-item tags="ND"/> </def-attr> |