Skip to content

Commit 28b3e88

Browse files
committed
fix bug newmm in python 2
1 parent 37d288b commit 28b3e88

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pythainlp/tokenize/newmm.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# -*- coding: utf-8 -*-
22
from __future__ import absolute_import,division,unicode_literals,print_function
3-
#from builtins import *
3+
import six
4+
if six.PY2:
5+
from builtins import *
46
'''
57
โปรแกรม multi-cut
68
ตัดคำภาษาไทยโดยใช้ Maximum Matching algorithm

0 commit comments

Comments
 (0)