File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -120,10 +120,10 @@ def test_ner(self):
120120
121121 self .assertEqual (
122122 ner .get_ner (
123- "เบอร์โทรศัพท์ 00-120-1100 " ,
123+ "เบอร์โทรศัพท์ 091-123-4567 " ,
124124 tag = True
125125 ),
126- "เบอร์โทรศัพท์ <PHONE>00-120-1100 </PHONE>" )
126+ "เบอร์โทรศัพท์ <PHONE>091-123-4567 </PHONE>" )
127127
128128 self .assertEqual (
129129 ner .get_ner (
@@ -135,11 +135,12 @@ def test_ner(self):
135135
136136 self .assertEqual (
137137 ner .get_ner (
138- "มาตรา 80 ให้ใช้อัตราภาษีร้อยละ 10.0"
138+ "มาตรา 80 ปพพ ให้ใช้อัตราภาษีร้อยละ 10.0"
139139 " ในการคำนวณภาษีมูลค่าเพิ่ม" ,
140140 tag = True
141141 ),
142- "<LAW>มาตรา 80</LAW> ให้ใช้อัตราภาษี<PERCENT>ร้อยละ 10.0</PERCENT>"
142+ "<LAW>มาตรา 80 ปพพ</LAW> "
143+ "ให้ใช้อัตราภาษี<PERCENT>ร้อยละ 10.0</PERCENT>"
143144 " ในการคำนวณภาษีมูลค่าเพิ่ม" )
144145
145146 self .assertEqual (
You can’t perform that action at this time.
0 commit comments