Pendrokar commited on
Commit
b2f6433
β€’
1 Parent(s): 18c873f

revert h2p import reorder

Browse files
resources/app/python/xvapitch/text/text_preprocessing.py CHANGED
@@ -8,6 +8,7 @@ import glob
8
  from unidecode import unidecode
9
  # from g2pc import G2pC
10
 
 
11
  from num2words import num2words
12
  import pykakasi
13
  import epitran
@@ -15,7 +16,6 @@ import epitran
15
  import nltk
16
  nltk.download('punkt', quiet=True)
17
  from nltk.tokenize import word_tokenize
18
- from h2p_parser.h2p import H2p
19
 
20
  # I really need to find a better way to do this (handling many different possible entry points)
21
  try:
 
8
  from unidecode import unidecode
9
  # from g2pc import G2pC
10
 
11
+ from h2p_parser.h2p import H2p
12
  from num2words import num2words
13
  import pykakasi
14
  import epitran
 
16
  import nltk
17
  nltk.download('punkt', quiet=True)
18
  from nltk.tokenize import word_tokenize
 
19
 
20
  # I really need to find a better way to do this (handling many different possible entry points)
21
  try: