You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/test_text_processor.py
+44Lines changed: 44 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,13 @@ def test_normalize_text(self):
8
8
text="This is a test sentence。Some people may wonder,“How long does it take to form a habit?”This is a another test sentence!"
9
9
normalized_text=normalize_text(text)
10
10
self.assertEqual(normalized_text, 'This is a test sentence. Some people may wonder, "How long does it take to form a habit?" This is a another test sentence!')
11
+
12
+
# 回归测试:专有缩写和小数不应被错误插入空格
13
+
edge_text="by C. Liu, et al., we compare TLS 1.3 in detail."
0 commit comments