Difference between revisions of "Nuosu and Mandarin/Final Project"

From LING073
Jump to: navigation, search
(→‎Links to Public Git Repo and Poster)
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
== Final Project Description ==
 +
For our final project, we decided to expand our morphological transducer for Nuosu, aiming for a corpus coverage above 80%. We also improved our Nuosu-Mandarin machine translation accuracy. Since there are 2 million Nuosu speakers, and 40% of them are bilingual speakers of Nuosu and Mandarin, we think a translation system between Nuosu and Mandarin can benefit this population. We have been using a Nuosu an [https://www.webonary.org/nuosuyi/?lang=en online glossary] for Nuosu and Mandari/English translation. We think our our morphological transducer and machine translation system are potentially helpful with generating more sentence examples for the website.
  
 +
== Previous Work ==
  
−
== Selected Sentences (Total added: 70)  ==
+
[https://wikis.swarthmore.edu/ling073/Nuosu/Transducer Nuosu Transducer]
  
 +
[https://wikis.swarthmore.edu/ling073/Nuosu_and_Mandarin/Structural_transfer Nuosu-Mandarin Machine Translation]
 +
 +
== Additions ==
 +
 +
=== Nuosu Transducer ===
 +
* We added 100+ stems to the lexd. file, covering common nouns, verbs, and adjectives mentioned in A Grammar of Nuosu (Gerner 2013).
 +
* We attempted to implement the negation suffix 'ap' using twol rule; currently the negation infix is only working for monosyllabic verbs and adjectives.
 +
 +
=== Nuosu-Mandarin Machine Translation ===
 +
* Added one structural transfer rule to deal with sentence level particles in Nuosu that are omitted in Mandarin.
 +
* Added one structural transfer rule to insert Mandarin particle 'de', which can function as predicate marker, possesive marker, adjectivizer, etc.
 +
* Added ~80 new lexicon to our bilingual dictionary, making the total ~200.
 +
 +
=== Corpus Construction ===
 +
* Constructed small corpus with 30 sentences; the lexicon in this corpus are mostly added to our transducer and the bilingual dictionary, which is useful for evaluateing how the effectiveness of the structural transfer rules when the lexicon are mostly known.
 +
 +
* Constructed large corpus with 100 sentences; the sentences in this corpus are randomly selected from the Bible and the Grammar book, and evaluating over this corpus shows the general accuracy of our machine translation system.
 +
 +
==== Selected Example Sentences from the Large Corpus ====
 
* {{transferTest|iii|zho|ꋌꊋꋠꃅꀥ|他用力地跑}}  
 
* {{transferTest|iii|zho|ꋌꊋꋠꃅꀥ|他用力地跑}}  
 
*: {{transferMorphTest|iii|zho|ꋌ{{tag|prn}} ꊋꋠ{{tag|adj}} ꃅ{{tag|advl}} ꀥ{{tag|vblex}}| 他{{tag|prn}} 用力地{{tag|adv}} 跑{{tag|vblex}}}}
 
*: {{transferMorphTest|iii|zho|ꋌ{{tag|prn}} ꊋꋠ{{tag|adj}} ꃅ{{tag|advl}} ꀥ{{tag|vblex}}| 他{{tag|prn}} 用力地{{tag|adv}} 跑{{tag|vblex}}}}
Line 18: Line 40:
 
*: {{transferMorphTest|iii|zho|ꉢ{{tag|prn}} ꃀꌠ{{tag|n}} ꀐ{{tag|part}} | 我{{tag|prn}} 现在{{tag|adv}} 是{{tag|pr}} 老人{{tag|n}}}}
 
*: {{transferMorphTest|iii|zho|ꉢ{{tag|prn}} ꃀꌠ{{tag|n}} ꀐ{{tag|part}} | 我{{tag|prn}} 现在{{tag|adv}} 是{{tag|pr}} 老人{{tag|n}}}}
  
−
* {{transferTest|iii|zho|ꉡꆹꑞꉉꄻꅐꑴꌦ?|我仍然需要嘱咐什么?}}
+
== Final Evaluation ==
−
*: {{transferMorphTest|iii|zho|ꉡ{{tag|prn}} ꆹ{{tag|part}} ꑞ{{tag|n}} ꉉ{{tag|vblex}} ꄻꅐ{{tag|vblex}} ꑴꌦ{{tag|adv}}| 我{{tag|prn}} 仍然{{tag|adv}} 需要{{tag|vblex}} 说{{tag|vblex}} 什么{{tag|n}}}}
 
  
−
* {{transferTest|iii|zho|ꑳꌠꁡꇤꇿꇬꑌꋌꏮꈴ。|耶稣穿过他所有的村庄}}
+
=== Transducer ===
−
*: {{transferMorphTest|iii|zho|ꑳꌠ{{tag|n}} ꁡꇤ{{tag|n}} ꇿꇬꑌ{{tag|adj}} ꋌ{{tag|prn}} ꏮꈴ{{tag|vblex}}| 耶稣{{tag|n}} 穿过{{tag|vblex}} 所有的{{tag|adj}} 村庄{{tag|n}}}}
+
*Coverage over the Bible: 78.5%
 +
*Precision: 97.60%
 +
*Recall: 86.46%
  
−
* {{transferTest|iii|zho|ꅽꃢꈜꎔ。|你的衣服是美丽的}}
+
=== Machine Translation ===
−
*: {{transferMorphTest|iii|zho|ꅽ{{tag|prn}} ꃢꈜ{{tag|n}} ꎔ{{tag|adj}}| 你的{{tag|prn}} 衣服{{tag|n}} 是{{tag|pr}} 美丽的{{tag|adj}}}}
+
*Small Corpora:
 +
** WER: 37.9%
 +
** PER: 17.8%
 +
*Large Corpora:
 +
** WER: 107.5%
 +
** PER: 80.9%
 +
(We think ths difference in the WERs and PERs is due to the large number of unknown nouns and pronouns contained in the bible that are not added to our bilingual dictionary; also the reference text are polished translations selected from the bible but the test text are direct translations using our machine translation system that maps between lexicons)
  
−
* {{transferTest|iii|zho|ꈀꄸꑌꎧꅝꏾ。|所有人想喝红酒}}
+
== Future Work ==
−
*: {{transferMorphTest|iii|zho|ꈀꄸ{{tag|n}} ꑌ{{tag|adv}} ꎧ{{tag|n}} ꅝ{{tag|vblex}} ꏾ{{tag|vblex}}| 大家{{tag|n}} 都{{tag|adv}} 红酒{{tag|n}} 喝{{tag|vblex}} 想{{tag|vblex}}}}
+
* Add more structural transfer rules to deal with compounding in Mandarin.
 +
* Reduce twol rule conflicts in the transducer; improve on the implementation of the negation suffix 'ap'.
 +
* Enhance translation accuracy in collaboration with native speakers.
  
−
* {{transferTest|iii|zho|ꋌꁬꃨꒈꎭ。|他给花浇水}}
+
== Links to Public Git Repo and Poster  ==
−
*: {{transferMorphTest|iii|zho|ꋌ{{tag|prn}} ꁬꃨ{{tag|n}} ꒈ{{tag|n}} ꎭ{{tag|vblex}} | 他{{tag|n}} 浇{{tag|vblex}} 花{{tag|n}}}}
 
  
−
== Link to Code and Poster  ==
+
*Morphological Analyser, generator, and disambiguator for Nuosu
 +
**[https://github.com/AgnesWang000/Nuosu-Transducer Morphological Transducer]
  
−
Morphological Analyser, generator, and disambiguator
+
*Machine Translation between Nuosu and Mandarin
−
https://github.swarthmore.edu/Ling073-sp22/ling073-iii
+
**[https://github.com/AgnesWang000/Nuosu-Mandarin-RBMT Machine Translation System]
  
−
Machine Translation between Nuosu and Mandarin
+
*Improved Mandarin Transducer
−
https://github.swarthmore.edu/Ling073-sp22/ling073-iii-zho
+
**[https://github.com/AgnesWang000/Apertium-zho Apertium-zho]
  
−
Summary Poster of the Project
+
*Summary Poster of the Project
−
https://docs.google.com/presentation/d/1qZwlHxp997AG8Z13Y9Ayn5tsmnHI6awxLl9L79toUyA/edit?usp=sharing
+
**[https://docs.google.com/presentation/d/1qZwlHxp997AG8Z13Y9Ayn5tsmnHI6awxLl9L79toUyA/edit?usp=sharing Poster]
  
 
[[Category:Nuosu]] [[Category:Sp22_FinalProjects]]
 
[[Category:Nuosu]] [[Category:Sp22_FinalProjects]]

Latest revision as of 01:40, 13 May 2022

Final Project Description

For our final project, we decided to expand our morphological transducer for Nuosu, aiming for a corpus coverage above 80%. We also improved our Nuosu-Mandarin machine translation accuracy. Since there are 2 million Nuosu speakers, and 40% of them are bilingual speakers of Nuosu and Mandarin, we think a translation system between Nuosu and Mandarin can benefit this population. We have been using a Nuosu an online glossary for Nuosu and Mandari/English translation. We think our our morphological transducer and machine translation system are potentially helpful with generating more sentence examples for the website.

Previous Work

Nuosu Transducer

Nuosu-Mandarin Machine Translation

Additions

Nuosu Transducer

  • We added 100+ stems to the lexd. file, covering common nouns, verbs, and adjectives mentioned in A Grammar of Nuosu (Gerner 2013).
  • We attempted to implement the negation suffix 'ap' using twol rule; currently the negation infix is only working for monosyllabic verbs and adjectives.

Nuosu-Mandarin Machine Translation

  • Added one structural transfer rule to deal with sentence level particles in Nuosu that are omitted in Mandarin.
  • Added one structural transfer rule to insert Mandarin particle 'de', which can function as predicate marker, possesive marker, adjectivizer, etc.
  • Added ~80 new lexicon to our bilingual dictionary, making the total ~200.

Corpus Construction

  • Constructed small corpus with 30 sentences; the lexicon in this corpus are mostly added to our transducer and the bilingual dictionary, which is useful for evaluateing how the effectiveness of the structural transfer rules when the lexicon are mostly known.
  • Constructed large corpus with 100 sentences; the sentences in this corpus are randomly selected from the Bible and the Grammar book, and evaluating over this corpus shows the general accuracy of our machine translation system.

Selected Example Sentences from the Large Corpus

  • (iii) ꋌꊋꋠꃅꀥ → (zho) 他用力地跑
    (iii) ꋌ<prn> ꊋꋠ<adj> ꃅ<advl> ꀥ<vblex> → (zho) 他<prn> 用力地<adv> 跑<vblex>
  • (iii) ꉪꊇꀃꑍꏦꎫꁧ → (zho) 我们今天去街上
    (iii) ꉪꊇ<prn> ꀃꑍ<n> ꏦꎫ<n> ꁧ<vblex> → (zho) 我们<prn> 今天<n> 去<vblex> 街上<n>
  • (iii) ꉢꎧꀋꅝꀐ → (zho) 我没有喝红酒
    (iii) ꉢ<prn> ꎧ<n> ꀋ<neg> ꅝ<vblex> ꀐ<part> → (zho) 我<prn> 没有<neg> 喝<vblex> 红酒<n>
  • (iii) ꊾꆹꉬꇮꐯꀋꇊꌡ → (zho) 所有人差不多地像
    (iii) ꊾ<n> ꆹ<part> ꉬꇮ<adj> ꐯ<RECL> ꀋꇊ<adv> ꌡ<vblex> → (zho) 所有<adj> 人<n> 差不多地<adv> 像<vblex>
  • (iii) ꉢꃀꌠꀐ → (zho) 我是老人了
    (iii) ꉢ<prn> ꃀꌠ<n> ꀐ<part> → (zho) 我<prn> 现在<adv> 是<pr> 老人<n>

Final Evaluation

Transducer

  • Coverage over the Bible: 78.5%
  • Precision: 97.60%
  • Recall: 86.46%

Machine Translation

  • Small Corpora:
    • WER: 37.9%
    • PER: 17.8%
  • Large Corpora:
    • WER: 107.5%
    • PER: 80.9%

(We think ths difference in the WERs and PERs is due to the large number of unknown nouns and pronouns contained in the bible that are not added to our bilingual dictionary; also the reference text are polished translations selected from the bible but the test text are direct translations using our machine translation system that maps between lexicons)

Future Work

  • Add more structural transfer rules to deal with compounding in Mandarin.
  • Reduce twol rule conflicts in the transducer; improve on the implementation of the negation suffix 'ap'.
  • Enhance translation accuracy in collaboration with native speakers.

Links to Public Git Repo and Poster

  • Summary Poster of the Project