Difference between revisions of "Tongan/Disambiguation"

From LING073
Jump to: navigation, search
(→‎disambiguation)
(→‎disambiguation)
Line 13: Line 13:
  
  
−
<pre>SECTION
+
<pre>SET PL = (n sg) OR (n du) ; # A set that matches either noun sg or noun dual
 +
SET DU = (n sg) OR (n pl) ; # A set that matches either noun sg or noun plural
 +
SET SG = (n du) OR (n pl) ; # A set that matches either noun dual or noun plural
  
−
# If there is a plural noun marker before a noun, remove the (n sg) and (n du) tags.
+
SECTION
−
REMOVE (n sg) OR (n du) IF (-1 (cl pl)) ;
 
  
−
REMOVE (n pl) OR (n sg) IF (-1 (cl du)) ;
+
#If there is a plural noun marker before a noun, remove the (n sg) and (n du) tags.
 +
REMOVE $$PL IF (-1 (cl pl)) ;
  
−
REMOVE (n pl) OR (n du) IF (not -1 (cl pl) or (cl du)) ;</pre>
+
REMOVE $$DU IF (-1 (cl du)) ;
 +
 
 +
REMOVE $$SG IF (not -1 (cl pl) or (cl du)) ;
 +
</pre>
  
 
==evaluation of ambiguity after disambiguation==
 
==evaluation of ambiguity after disambiguation==

Revision as of 01:24, 3 March 2017

initial evaluation of ambiguity

number of tokens: 1698

number of analyses: 3768

ambiguity: 2.219

disambiguation

In Tongan, pluralization of nouns occur with the use of plural noun markers - or plural classifiers as I have identified them. There are a number of different plural markers that are used with a variety of different items. For example,


SET PL = (n sg) OR (n du) ; # A set that matches either noun sg or noun dual
SET DU = (n sg) OR (n pl) ; # A set that matches either noun sg or noun plural
SET SG = (n du) OR (n pl) ; # A set that matches either noun dual or noun plural

SECTION

#If there is a plural noun marker before a noun, remove the (n sg) and (n du) tags.
REMOVE $$PL IF (-1 (cl pl)) ;

REMOVE $$DU IF (-1 (cl du)) ;

REMOVE $$SG IF (not -1 (cl pl) or (cl du)) ;

evaluation of ambiguity after disambiguation

number of analyses: 1903

ambiguity: 1.121