Difference between revisions of "Wolof/Disambiguator"

From LING073
Jump to: navigation, search
(→‎Evaluation of disambiguator)
(→‎Evaluation of disambiguator)
Line 13: Line 13:
  
 
*Examples:
 
*Examples:
−
(1) "ak garab yuy meññ tey jur seeni jiwu" -> here, we want the third person plural analysis of "seeni" because this sentence (wol.corpus.basic.txt line 11) is referring to plants and trees (3rd person plural)
+
(1) "lañu ne ci seen xarit" (they said/say to their friend) -> should be seen<p3>
 +
  ^lañu/lañu<prn><pers><p3><pl><ofc>$ ^ne/ne<prep>$ ^ci/ci<prep>$ ^'''seen/seen<det><pers><p3><sg>'''/seen<det><pers><p2><sg>$ ^xarit/xarit<n>$^./.<sent>$
 +
(2)  
 
[[Category:Sp23_Disambiguation]],[[Category:Wolof]]]
 
[[Category:Sp23_Disambiguation]],[[Category:Wolof]]]

Revision as of 02:08, 21 March 2023

Evaluation of disambiguator
  • Number of tokens: 7344

(Obtained by running the script below:)

 cat /home/rorlija1/ling073-wol-corpus/wol.corpus.basic.txt | apertium-destxt | lt-proc /home/rorlija1/ling073-wol/wol.automorf.bin | apertium-retxt | sed 's/$\W*\^/$\n^/g' | wc -l
  • Total number of analyses: 7722

(Obtained by running the script below:)

 cat /home/rorlija1/ling073-wol-corpus/wol.corpus.basic.txt | apertium-destxt | lt-proc /home/rorlija1/ling073-wol/wol.automorf.bin | apertium-retxt | sed 's/$\W*\^/$\n^/g' | cut -f2- -d'/' | sed 's/\//\n/g' | wc -l
  • Total number of analyses after disambiguation: 7716

(Obtained by running the script below:)

 cat /home/rorlija1/ling073-wol-corpus/wol.corpus.basic.txt | apertium-destxt | lt-proc /home/rorlija1/ling073-wol/wol.automorf.bin | apertium-retxt | cg-proc /home/rorlija1/ling073-wol/wol.rlx.bin | sed 's/$\W*\^/$\n^/g' | cut -f2- -d'/' | sed 's/\//\n/g' | wc -l
  • Examples:

(1) "lañu ne ci seen xarit" (they said/say to their friend) -> should be seen<p3>

 ^lañu/lañu<prn><pers><p3><pl><ofc>$ ^ne/ne<prep>$ ^ci/ci<prep>$ ^seen/seen<det><pers><p3><sg>/seen<det><pers><p2><sg>$ ^xarit/xarit<n>$^./.<sent>$

(2),]