Kperalt1/Final Project

From LING073
Revision as of 23:53, 14 May 2025 by Kperalt1 (talk | contribs) (→‎Shanghainese wuu → English eng Sentence Evaluation)

Jump to: navigation, search

Resources for machine translation between Shanghainese and English

  • Resources developed for Shanghainese:
    • Link to resources developed for Shanghainese: [1]
  • Resources developed for English:

External Resources

  • Link to repository language pair:[2]
  • Link to Shanghainese repository transducer:[3]
  • Link to English repository transducer:[4]
  • Link to Shanghainese to English Text: [5]

Shanghainese wuu → English eng Sentence Evaluation

Sentences

  • (1) wuu: 我爱侬。
    • eng: I love you.
    • lexical transfer output: ^我<prn><pers><p1><sg>/I<prn><p1><sg><mf>$ ^爱<vblex>/love<vblex><pres>$ ^侬<prn><pers><p2><sg>/you<prn><pers><p2><sg><mf>$ ^.<sent>/.<sent>
    • full translation output: #I #love #you .
  • (2) wuu: 我有很多朋友。
    • eng: I have many friends.
    • lexical transfer output: ^我<prn><pers><p1><sg>/I<prn><p1><sg><mf>$ ^有<vblex>/have<vblex><pres>$ ^很多<adj>/many<det><qnt><pl>$ ^朋友<n>/friends<n><pl>$ ^.<sent>/.<sent>
    • full translation output: #I #have many #friends .
  • (3) wuu: 侬欢喜唱歌伐?
    • eng: Do you like singing?
    • lexical transfer output: ^侬<prn><pers><p2><sg>/you<prn><pers><p2><sg>$ ^欢喜<vblex>/like<vblex>$ ^唱歌<vblex>/singing<vblex>$ ^伐<qst>/$ ^.<sent>/.<sent>
    • full translation output: #you #like #singing .
  • (4) wuu: 大家早上好。
    • eng: Good morning, everybody.
    • lexical transfer output:
    • full translation output:
  • (5) wuu: 侬要吃茶还是吃咖啡啊?
    • eng: Do you want to drink tea or coffee?
    • lexical transfer output: ^侬<prn><pers><p2><sg>/you<prn><pers><p2><sg><mf>$ ^要<vaux>/want<vblex><pres>$ ^吃<vblex>/to eat<vblex><pres>/to drink<vblex><pres>$ ^茶<n>/tea<n><sg>$ ^还是<cnjcoo>/or<cnjcoo>$ ^吃<vblex>/to eat<vblex><pres>/to drink<vblex><pres>$ ^咖啡<n>/coffee<n><sg>$ ^啊<part>/$ ^.<sent>/.<sent>
    • full translation output: #you #want #to drink #tea or #to drink #coffee .
  • (6) wuu: 是我个,勿是伊个。
    • eng: It's mine, not his.
    • lexical transfer output:^是<vaux>/is<vbser><pres><p3><sg>$ ^我<prn><pers><p1><sg><pos>/my<det><pos><p1><mf><sg>$ ^,<cm>/,<cm>$ ^勿是<vaux>/not<adv>$ ^伊<prn><pers><p3><sg><pos>/his<prn><pos><p3><m><sg>/hers<prn><pos><p3><f><sg>$ ^.<sent>/.<sent>
    • full translation output: #is #my , not #his .
  • (7) wuu: 搿是我个行李。
    • eng: Here is my baggage.
    • lexical transfer output: ^搿<adj>/here<adj>$ ^是<vaux>/is<vaux>$ ^我<prn><pers><p1><sg><pos>/my<prn><pers><p1><sg><pos>/mine<prn><pers><p1><sg><pos>$ ^行李<n>/baggage<n>$ ^.<sent>/.<sent>
    • full translation output: #here #is #my #baggage .
  • (8) wuu: 伊是法国人。
    • eng: She is French. or He is French.
    • lexical transfer output: ^伊<prn><pers><p3><sg>/he<prn><subj><p3><m><sg>/it<prn><obj><p3><nt><sg>/him<prn><obj><p3><m><sg>/her<prn><obj><p3><f><sg>/she<prn><subj><p3><f><sg>$ ^是<vaux>/is<vbser><pres><p3><sg>$ ^法国人<n>/French<n><pl>$ ^.<sent>/.<sent
    • full translation output: #he #is #French .
  • (9) wuu: 我每天六点钟起床。
    • eng: I get up at six every day.
    • lexical transfer output: ^我<prn><pers><p1><sg>/I<prn><p1><sg><mf>$ ^每天<adv>/every day<adv>$ ^六点钟<n>/six<num><pl>$ ^起床<vblex>/wake up<vblex><inf>$ ^.<sent>/.<sent>
    • full translation output: #I every day #six #wake up .
  • (10) wuu: 一、二、三、四、五、六、七、八、九、十。
    • eng: One, two, three, four, five, six, seven, right, nine, ten.
    • lexical transfer output: ^一<num>/one<num><sg>$ ^、<cm>/,<cm>$ ^二<num>/two<num><pl>$ ^、<cm>/,<cm>$ ^三<num>/three<num><pl>$ ^、<cm>/,<cm>$ ^四<num>/four<num><pl>$ ^、<cm>/,<cm>$ ^五<num>/five<num><pl>$ ^、<cm>/,<cm>$ ^六<num>/six<num><pl>$ ^、<cm>/,<cm>$ ^七<num>/seven<num><pl>$ ^、<cm>/,<cm>$ ^八<num>/eight<num><pl>$ ^、<cm>/,<cm>$ ^九<num>/nine<num><pl>$ ^、<cm>/,<cm>$ ^十<num>/ten<num><pl>$ ^.<sent>/.<sent>
    • full translation output: one , two , three , four , five , six , seven , eight , nine , ten .
  • (11) wuu: 侬要走啦?
    • eng: Do you want to go?
    • lexical transfer output:
    • full translation output:
  • (12) wuu: 麻烦侬了。
    • eng: Sorry to trouble you.
    • lexical transfer output:
    • full translation output:
  • (13) wuu: 我老勿好意思个。
    • eng: I'm too ashamed.
    • lexical transfer output:
    • full translation output:
  • (14) wuu: 谢谢侬噢!
    • eng: Thank you!
    • lexical transfer output:
    • full translation output:
  • (15) wuu: 昨日是啥个天气?
    • eng: What was the weather yesterday?
    • lexical transfer output:
    • full translation output:
  • (16) wuu: 明朝要落雪。
    • eng: It will snow tomorrow.
    • lexical transfer output:
    • full translation output:
  • (17) wuu: 侬住拉阿里搭?
    • eng: Where do you live?
    • lexical transfer output:
    • full translation output:
  • (18) wuu: 侬要多少钞票?
    • eng: How much money do you want?
    • lexical transfer output:
    • full translation output:
  • (19) wuu: 对勿起。
    • eng: I'm sorry.
    • lexical transfer output:
    • full translation output:
  • (20) wuu: 侬非常勇敢。
    • eng: You are very brave.
    • lexical transfer output:
    • full translation output:

Statistics about input files

  • Number of words in reference: 8339
  • Number of words in test: 10077
  • Number of unknown words (marked with a star) in test: 5756
  • Percentage of unknown words: 57.12 %

Results when removing unknown-word marks (stars)


  • Edit distance: 10630
  • Word error rate (WER): 127.47 %
  • Number of position-independent correct words: 49
  • Position-independent word error rate (PER): 120.25 %