Skip to content

Commit dd64c25

Browse files
committed
Fixed pep8
1 parent 524759a commit dd64c25

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

pythainlp/morpheme/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010
"is_native_thai"
1111
]
1212
from pythainlp.morpheme.word_formation import nighit
13-
from pythainlp.morpheme.thaiwordcheck import is_native_thai
13+
from pythainlp.morpheme.thaiwordcheck import is_native_thai

pythainlp/morpheme/thaiwordcheck.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
https://github.com/wannaphong/open-thai-nlp-document/blob/master/check_thai_word.md
99
1010
References
11-
- ทีมงานทรูปลูกปัญญา 2015. ลักษณะของคำไทยแท้ http://www.trueplookpanya.com/learning/detail/30589-043067
11+
- ทีมงานทรูปลูกปัญญา 2015. ลักษณะของคำไทยแท้ \
12+
http://www.trueplookpanya.com/learning/detail/30589-043067
1213
- วารุณี บำรุงรส 2010. คำไทยแท้ https://www.gotoknow.org/posts/377619
1314
"""
1415
import re

pythainlp/util/thaiwordcheck.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ def is_native_thai(word: str) -> bool:
99
pythainlp.util.is_native_thai is rename as \
1010
pythainlp.morpheme.is_native_thai.
1111
This function will remove in PyThaiNLP 5.1.
12-
"""
13-
, DeprecationWarning)
12+
""", DeprecationWarning)
1413
from pythainlp.morpheme import is_native_thai as check
1514

1615
return check(word)

0 commit comments

Comments
 (0)