Syntactic labels

From Apertium
Jump to navigation Jump to search

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 Object, head verb to the left
@OBJ→ 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
@←SPRED
@SPRED→
@OPRED
@←OPRED
@OPRED→
@+FAUXV Finite auxiliary verb
@-FAUXV Infinite auxiliary verb
@+FMAINV Finite main verb
@-FMAINV Infinite main verb
@-FSUBJ→
@-F←OBJ
@-FOBJ→
@SPRED←OBJ
@-FADVL
@←ADVL
@ADVL→ Adverbial,
@ADVL
@P←
@CNP Co-ordinator of noun phrases
@CVP Co-ordinator of 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