File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 4848 "text_to_arabic_digit" ,
4949 "text_to_num" ,
5050 "text_to_thai_digit" ,
51+ "th_zodiac" ,
5152 "thai_digit_to_arabic_digit" ,
5253 "thai_keyboard_dist" ,
5354 "thai_strptime" ,
6061 "time_to_thaiword" ,
6162 "tis620_to_utf8" ,
6263 "to_idna" ,
64+ "to_lunar_date" ,
6365 "tone_detector" ,
6466 "words_to_num" ,
65- "to_lunar_date" ,
66- "th_zodiac" ,
6767]
6868
6969from pythainlp .util import spell_words
116116 isthaichar ,
117117 thai_word_tone_detector ,
118118)
119+ from pythainlp .util .thai_lunar_date import th_zodiac , to_lunar_date
119120from pythainlp .util .thaiwordcheck import is_native_thai
120121from pythainlp .util .time import thaiword_to_time , time_to_thaiword
121122from pythainlp .util .trie import Trie , dict_trie
122123from pythainlp .util .wordtonum import text_to_num , thaiword_to_num , words_to_num
123124
124- # sound_syllable and pronounce have to be imported last
125+ # sound_syllable and pronounce have to be imported last because of dependencies
126+ # Other imports should be above this line, sorted.
125127from pythainlp .util .syllable import (
126128 sound_syllable ,
127129 syllable_length ,
128130 syllable_open_close_detector ,
129131 tone_detector ,
130132)
131133from pythainlp .util .pronounce import rhyme
132- from pythainlp .util .thai_lunar_date import to_lunar_date , th_zodiac
You can’t perform that action at this time.
0 commit comments