12 lines
324 B
Python
12 lines
324 B
Python
from model.models import NeuSrc
|
|
from script.detect_acronym import detect_acronym
|
|
# detect_acronym()
|
|
|
|
string = u'Các thanh điệu phải đặt đúng chỗ'
|
|
print(type(string))
|
|
print(string.encode('utf-8'))
|
|
string =string.encode('utf-8')
|
|
print(type(string))
|
|
string =string.decode('utf-8')
|
|
print(string)
|
|
print(type(string)) |