Difference between revisions of "Syntactic labels"

From Apertium
Jump to navigation Jump to search
Line 6: Line 6:
   
 
{|class=wikitable
 
{|class=wikitable
! Tag !! Description
+
! Tag !! Description
 
|-
 
|-
| <code>@←SUBJ</code> || Subject, head verb to the left
+
| <code>@←SUBJ</code> || Subject, head verb to the left
 
|-
 
|-
| <code>@SUBJ→</code> || Subject, head verb to the right
+
| <code>@SUBJ→</code> || Subject, head verb to the right
 
|-
 
|-
| <code>@←OBJ</code> || Object, head verb to the left
+
| <code>@←OBJ</code> || Direct object, head verb to the left
 
|-
 
|-
| <code>@OBJ→</code> || Object, head verb to the right
+
| <code>@OBJ→</code> || Direct object, head verb to the right
 
|-
 
|-
| <code>@←IOBJ</code> || Indirect object, head verb to the left
+
| <code>@←IOBJ</code> || Indirect object, head verb to the left
 
|-
 
|-
| <code>@IOBJ→</code> || Indirect object, head verb to the right
+
| <code>@IOBJ→</code> || Indirect object, head verb to the right
 
|-
 
|-
| <code>@→N</code> || Noun modifier, head noun to the right
+
| <code>@→N</code> || Noun modifier, head noun to the right
 
|-
 
|-
| <code>@N←</code> || Noun modifier, head noun to the left
+
| <code>@N←</code> || Noun modifier, head noun to the left
 
|-
 
|-
| <code>@→A</code> || Adjective modifier, head noun to the right
+
| <code>@→A</code> || Adjective modifier, head noun to the right
 
|-
 
|-
| <code>@A←</code> || Adjective modifier, head noun to the left
+
| <code>@A←</code> || Adjective modifier, head noun to the left
 
|-
 
|-
| <code>@IM</code> ||
+
| <code>@IM</code> ||
 
|-
 
|-
| <code>@SPRED</code> ||
+
| <code>@SPRED</code> || Subject predicate
 
|-
 
|-
| <code>@←SPRED</code> ||
+
| <code>@←SPRED</code> || Subject predicate, head verb
 
|-
 
|-
| <code>@SPRED→</code> ||
+
| <code>@SPRED→</code> ||
 
|-
 
|-
| <code>@OPRED</code> ||
+
| <code>@OPRED</code> ||
 
|-
 
|-
| <code>@←OPRED</code> ||
+
| <code>@←OPRED</code> ||
 
|-
 
|-
| <code>@OPRED→</code> ||
+
| <code>@OPRED→</code> ||
 
|-
 
|-
| <code>@+FAUXV</code> || Finite auxiliary verb
+
| <code>@+FAUXV</code> || Finite auxiliary verb
 
|-
 
|-
| <code>@-FAUXV</code> || Infinite auxiliary verb
+
| <code>@-FAUXV</code> || Non-finite auxiliary verb
 
|-
 
|-
| <code>@+FMAINV</code> || Finite main verb
+
| <code>@+FMAINV</code> || Finite main verb
 
|-
 
|-
| <code>@-FMAINV</code> || Infinite main verb
+
| <code>@-FMAINV</code> || Non-finite main verb
 
|-
 
|-
 
|-
 
|-
| <code>@-FSUBJ→</code> ||
+
| <code>@-FSUBJ→</code> ||
 
|-
 
|-
| <code>@-F←OBJ</code> ||
+
| <code>@-F←OBJ</code> ||
 
|-
 
|-
| <code>@-FOBJ→</code> ||
+
| <code>@-FOBJ→</code> ||
 
|-
 
|-
| <code>@SPRED←OBJ</code> ||
+
| <code>@SPRED←OBJ</code> ||
 
|-
 
|-
| <code>@-FADVL</code> ||
+
| <code>@-FADVL</code> ||
 
|-
 
|-
 
|-
 
|-
| <code>@←ADVL</code> ||
+
| <code>@←ADVL</code> || Adverbial modifier, head to the left
 
|-
 
|-
| <code>@ADVL→</code> || Adverbial,
+
| <code>@ADVL→</code> || Adverbial modifier, head to the right
 
|-
 
|-
| <code>@ADVL</code> ||
+
| <code>@ADVL</code> || Adverbial modifier
 
|-
 
|-
| <code>@P←</code> ||
+
| <code>@P←</code> || Complement of a preposition
 
|-
 
|-
| <code>@CNP</code> || Co-ordinator of noun phrases
+
| <code>@CNP</code> || Local conjunction or subjunction
 
|-
 
|-
| <code>@CVP</code> || Co-ordinator of verb phrases
+
| <code>@CVP</code> || Conjunction or subjunction that joins finite-verb phrases
 
|-
 
|-
| <code>@→CS</code> ||
+
| <code>@→CS</code> ||
 
|-
 
|-
| <code>@CNP-VP</code> || Ambiguous co-ordinator
+
| <code>@CNP-VP</code> || Ambiguous co-ordinator
 
|-
 
|-
| <code>@APP</code> ||
+
| <code>@APP</code> ||
 
|-
 
|-
 
|-
 
|-
| <code>@IMV</code> || Infinite main verb
+
| <code>@IMV</code> || Infinite main verb
 
|-
 
|-
| <code>@ICL-ADVL</code> || Non-finite subclause ...
+
| <code>@ICL-ADVL</code> || Non-finite subclause ...
 
|-
 
|-
| <code>@ICL-AUX←</code> || "right" argument of auxiliary (?)
+
| <code>@ICL-AUX←</code> || "right" argument of auxiliary (?)
 
|-
 
|-
| <code>@ICL-OBJ</code> || Non-finite subclause ...
+
| <code>@ICL-OBJ</code> || Non-finite subclause ...
 
|-
 
|-
| <code>@ICL-STA</code> || Non-finite subclause ...
+
| <code>@ICL-STA</code> || Non-finite subclause ...
 
|-
 
|-
| <code>@HNOUN</code> || Noun phrase fragment
+
| <code>@HNOUN</code> || Noun phrase fragment
 
|-
 
|-
 
|-
 
|-
| <code>@X</code> || No analysis
+
| <code>@X</code> || No analysis
 
|-
 
|-
 
|}
 
|}

Revision as of 13:45, 3 December 2009

In some language pairs, shallow syntax tags are used to improve disambiguation, or allow tighter rules to be written. For example, disambiguating verb phrase co-ordinators from noun phrase co-ordinators lets you write rules to merge two co-ordinated NPs.

Standard syntax tags

These are the uniform tags used in many Giellatekno projects.

Tag Description
@←SUBJ Subject, head verb to the left
@SUBJ→ Subject, head verb to the right
@←OBJ Direct object, head verb to the left
@OBJ→ Direct object, head verb to the right
@←IOBJ Indirect object, head verb to the left
@IOBJ→ Indirect object, head verb to the right
@→N Noun modifier, head noun to the right
@N← Noun modifier, head noun to the left
@→A Adjective modifier, head noun to the right
@A← Adjective modifier, head noun to the left
@IM
@SPRED Subject predicate
@←SPRED Subject predicate, head verb
@SPRED→
@OPRED
@←OPRED
@OPRED→
@+FAUXV Finite auxiliary verb
@-FAUXV Non-finite auxiliary verb
@+FMAINV Finite main verb
@-FMAINV Non-finite main verb
@-FSUBJ→
@-F←OBJ
@-FOBJ→
@SPRED←OBJ
@-FADVL
@←ADVL Adverbial modifier, head to the left
@ADVL→ Adverbial modifier, head to the right
@ADVL Adverbial modifier
@P← Complement of a preposition
@CNP Local conjunction or subjunction
@CVP Conjunction or subjunction that joins finite-verb phrases
@→CS
@CNP-VP Ambiguous co-ordinator
@APP
@IMV Infinite main verb
@ICL-ADVL Non-finite subclause ...
@ICL-AUX← "right" argument of auxiliary (?)
@ICL-OBJ Non-finite subclause ...
@ICL-STA Non-finite subclause ...
@HNOUN Noun phrase fragment
@X No analysis

External links