We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d598c6 commit 37d288bCopy full SHA for 37d288b
pythainlp/tokenize/newmm.py
@@ -1,6 +1,6 @@
1
# -*- coding: utf-8 -*-
2
from __future__ import absolute_import,division,unicode_literals,print_function
3
-from builtins import *
+#from builtins import *
4
'''
5
โปรแกรม multi-cut
6
ตัดคำภาษาไทยโดยใช้ Maximum Matching algorithm
@@ -61,7 +61,6 @@ def serialize(p, p2): # helper function
61
elif p_ < p2:
62
for path in serialize(p_, p2):
63
yield w+'/'+path
64
-
65
q = {0}
66
last_p = 0 # last position for yield
67
while min(q) < len(text):
0 commit comments