Kperalt1/Final Project
From LING073
Revision as of 22:54, 15 May 2025 by Kperalt1 (talk | contribs) (→Shanghainese wuu → English eng Sentence Evaluation)
Contents
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. - 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: Excuse me. - lexical transfer output:
- full translation output:
-
- (20)
wuu: 侬非常勇敢。-
eng: You are very brave. - lexical transfer output:
- full translation output:
-
- (21)
wuu: 侬选好了伐?-
eng: Have you chosen? - lexical transfer output:
- full translation output:
-
- (22)
wuu: 够了。-
eng: That's enough. - lexical transfer output:
- full translation output:
-
- (23)
wuu: 皮带是棕颜色个。-
eng: The belt is brown. - lexical transfer output:
- full translation output:
-
- (24)
wuu: 我欢喜我个闲话。-
eng: I like my language. - lexical transfer output:
- full translation output:
-
- (25)
wuu: 我有一支笔。-
eng: I have a pen. - lexical transfer output:
- full translation output:
-
- (26)
wuu: 有四个方向,东,南,西,北。-
eng: There are four cardinal points, East, south, west and north. - lexical transfer output:
- full translation output:
-
- (27)
wuu: 一年有四季,春夏秋冬。-
eng: There are four seasons in a year, spring, summer, fall and winter. - lexical transfer output:
- full translation output:
-
- (28)
wuu: 请拿。-
eng: Take it, please. - lexical transfer output:
- full translation output:
-
- (29)
wuu: 我是游客。-
eng: I'm a tourist. - lexical transfer output:
- full translation output:
-
- (30)
wuu: 现在我可以走了𠲎?-
eng: Can I leave now? - lexical transfer output:
- full translation output:
-
- (31)
wuu: 我会得弹钢琴。-
eng: I can play piano. - lexical transfer output:
- full translation output:
-
- (32)
wuu: 打网球是伊个兴趣。-
eng: Playing tennis is his hobby. - lexical transfer output:
- full translation output:
-
- (33)
wuu: 勿是我个。-
eng: It's not mine. - lexical transfer output:
- full translation output:
-
- (34)
wuu: 我學習中國言話。-
eng: We learn Chinese. - lexical transfer output:
- full translation output:
-
- (35)
wuu: 我申请了签证。-
eng: I applied for a visa. - lexical transfer output:
- full translation output:
-
- (36)
wuu: 伊啥人啊?-
eng: Who is he? - lexical transfer output:
- full translation output:
-
- (37)
wuu: 吾欢喜吾额工作。-
eng: I like my job. - lexical transfer output:
- full translation output:
-
- (38)
wuu: 吾老撒度额。-
eng: I'm so tired. - lexical transfer output:
- full translation output:
-
- (39)
wuu: 生日快乐!-
eng: Happy birthday! - lexical transfer output:
- full translation output:
-
- (40)
wuu: 再会!-
eng: Bye! - lexical transfer output:
- full translation output:
-
- (41)
wuu: 房间里向有老多学生子。-
eng: There are many students in the room. - lexical transfer output:
- full translation output:
-
- (42)
wuu: 伊会得讲十种语言。-
eng: He can speak ten languages. - lexical transfer output:
- full translation output:
-
- (43)
wuu: 吾嘴巴干。-
eng: I'm thirsty. - lexical transfer output:
- full translation output:
-
- (44)
wuu: 吾肚皮饿了。-
eng: I am hungry. - lexical transfer output:
- full translation output:
-
- (45)
wuu: 吾肚皮痛。-
eng: I have a stomachache. - lexical transfer output:
- full translation output:
-
- (46)
wuu: 伊是个好人。-
eng: He is a good person. - lexical transfer output:
- full translation output:
-
- (47)
wuu: 我要吃鱼跟海鲜。-
eng: I want to eat fish and seafood. - 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 %