Skip to content

Commit 0dd822f

Browse files
committed
Update pythainlp
1 parent 2968ab8 commit 0dd822f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

bin/pythainlp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
#!python3
22
# -*- coding: utf-8 -*-
33

4-
_VERSION = "2.0.6"
5-
64
import argparse
7-
5+
from pythainlp import __version__
86
parser = argparse.ArgumentParser()
97
parser.add_argument("-t", "--text", default=None, help="text", type=str)
108
parser.add_argument("-seg", "--segment", help="word segment", action="store_true")
@@ -50,4 +48,4 @@ elif args.soundex!=None:
5048
args.engine="lk82"
5149
print(soundex(args.soundex, engine=args.engine))
5250
else:
53-
print(f"PyThaiNLP {_VERSION}")
51+
print(f"PyThaiNLP {__version__}")

0 commit comments

Comments
 (0)