Difference between revisions of "Wolof/Disambiguator"

From LING073
Jump to: navigation, search
(→‎Evaluation of disambiguator)
(→‎Evaluation of disambiguator)
Line 12: Line 12:
 
   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
 
   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) "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)
 
[[Category:Sp23_Disambiguation]],[[Category:Wolof]]]
 
[[Category:Sp23_Disambiguation]],[[Category:Wolof]]]

Revision as of 01:41, 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) "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),]