Spaces:
Build error
Build error
freemt
commited on
Commit
•
5821b23
1
Parent(s):
1ccfc22
Update sents/words examples
Browse files- ubee/__main__.py +3 -0
ubee/__main__.py
CHANGED
@@ -122,10 +122,13 @@ def main():
|
|
122 |
'She looked at me, leaning back in her chair, and remained motionless and mute.'
|
123 |
]
|
124 |
shuffle(ex1_en)
|
|
|
|
|
125 |
|
126 |
ex2_zh = "她\n望望\n我\n往\n她\n的\n椅背\n一靠\n不\n动\n也\n不\n出声"
|
127 |
ex2_en = "She looked at me leaning back in her chair and remained motionless and mute".split()
|
128 |
shuffle(ex2_en)
|
|
|
129 |
|
130 |
examples = [
|
131 |
[ex2_zh, ex2_en, .3],
|
|
|
122 |
'She looked at me, leaning back in her chair, and remained motionless and mute.'
|
123 |
]
|
124 |
shuffle(ex1_en)
|
125 |
+
ex1_zh = "\n".join(ex1_zh)
|
126 |
+
ex1_en = "\n".join(ex1_en)
|
127 |
|
128 |
ex2_zh = "她\n望望\n我\n往\n她\n的\n椅背\n一靠\n不\n动\n也\n不\n出声"
|
129 |
ex2_en = "She looked at me leaning back in her chair and remained motionless and mute".split()
|
130 |
shuffle(ex2_en)
|
131 |
+
ex2_en = "\n".join(ex2_en)
|
132 |
|
133 |
examples = [
|
134 |
[ex2_zh, ex2_en, .3],
|