Pendrokar commited on
Commit
5687f87
β€’
1 Parent(s): 2c8094f

h2p: import own libraries relative to self

Browse files
resources/app/python/xvapitch/text/h2p_parser/dict_reader.py CHANGED
@@ -1,6 +1,6 @@
1
  # This reads a CMUDict formatted dictionary as a dictionary object
2
  import re
3
- import h2p_parser.format_ph as ph
4
  from . import DATA_PATH
5
 
6
 
 
1
  # This reads a CMUDict formatted dictionary as a dictionary object
2
  import re
3
+ import format_ph as ph
4
  from . import DATA_PATH
5
 
6
 
resources/app/python/xvapitch/text/h2p_parser/dictionary.py CHANGED
@@ -10,7 +10,7 @@ else:
10
  import importlib.resources as pkg_resources
11
  from os.path import exists
12
  import json
13
- import h2p_parser.pos_parser as pos_parser
14
 
15
 
16
  # Method to get data path
 
10
  import importlib.resources as pkg_resources
11
  from os.path import exists
12
  import json
13
+ import pos_parser as pos_parser
14
 
15
 
16
  # Method to get data path