Skip to content

Commit 5079d3f

Browse files
authored
Sort import test_util.py
1 parent 21d0a2b commit 5079d3f

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

tests/test_util.py

+17-17
Original file line numberDiff line numberDiff line change
@@ -18,56 +18,56 @@
1818
arabic_digit_to_thai_digit,
1919
bahttext,
2020
collate,
21-
countthai,
21+
convert_years,
2222
count_thai_chars,
23+
countthai,
2324
dict_trie,
2425
display_thai_char,
2526
digit_to_text,
2627
emoji_to_thai,
2728
eng_to_thai,
2829
find_keyword,
30+
ipa_to_rtgs,
2931
is_native_thai,
3032
isthai,
3133
isthaichar,
3234
normalize,
3335
now_reign_year,
3436
num_to_thaiword,
3537
maiyamok,
38+
nectec_to_ipa,
3639
rank,
3740
reign_year_to_ad,
3841
remove_dangling,
3942
remove_dup_spaces,
43+
remove_tone_ipa,
4044
remove_tonemark,
45+
remove_trailing_repeat_consonants,
4146
remove_zw,
4247
rhyme,
4348
text_to_arabic_digit,
49+
text_to_num,
4450
text_to_thai_digit,
45-
thaiword_to_date,
4651
thai_digit_to_arabic_digit,
52+
thai_keyboard_dist,
53+
thai_to_eng,
4754
thai_strftime,
55+
thai_strptime,
56+
thai_word_tone_detector,
57+
thaiword_to_date,
58+
thaiword_to_num,
4859
thaiword_to_time,
4960
time_to_thaiword,
50-
thai_to_eng,
61+
tis620_to_utf8,
5162
to_idna,
52-
thaiword_to_num,
53-
thai_keyboard_dist,
54-
text_to_num,
55-
words_to_num,
63+
tone_detector,
5664
sound_syllable,
5765
syllable_length,
5866
syllable_open_close_detector,
59-
tone_detector,
60-
thai_word_tone_detector,
61-
convert_years,
62-
thai_strptime,
63-
nectec_to_ipa,
64-
ipa_to_rtgs,
65-
remove_tone_ipa,
66-
tis620_to_utf8,
67-
remove_trailing_repeat_consonants,
67+
words_to_num,
6868
)
69+
from pythainlp.util.morse import morse_decode, morse_encode
6970
from pythainlp.util.spell_words import spell_word
70-
from pythainlp.util.morse import morse_encode, morse_decode
7171

7272

7373
class TestUtilPackage(unittest.TestCase):

0 commit comments

Comments
 (0)