File size: 355 Bytes
41f6dd8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # Copyright (c) 2019-present, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
#
import sys
from pythainlp.tokenize import word_tokenize
for line in sys.stdin.readlines():
line = line.rstrip('\n')
print(' '.join(word_tokenize(line)))
|