Pendrokar commited on
Commit
7decaa4
β€’
1 Parent(s): 11f3b6e

revert; dict import full path

Browse files
resources/app/no_server.py CHANGED
@@ -12,8 +12,6 @@ multiprocessing.freeze_support()
12
  PROD = True
13
  sys.path.append("./resources/app")
14
  sys.path.append("./resources/app/python")
15
- sys.path.append("./resources/app/python/text")
16
- sys.path.append("./resources/app/python/text/h2p_parser")
17
  sys.path.append("./resources/app/deepmoji_plugin")
18
 
19
  # Saves me having to do backend re-compilations for every little UI hotfix
 
12
  PROD = True
13
  sys.path.append("./resources/app")
14
  sys.path.append("./resources/app/python")
 
 
15
  sys.path.append("./resources/app/deepmoji_plugin")
16
 
17
  # Saves me having to do backend re-compilations for every little UI hotfix
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 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
+ from python.xvapitch.text.h2p_parser.format_ph 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 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
+ from python.xvapitch.text.h2p_parser.pos_parser import pos_parser as pos_parser
14
 
15
 
16
  # Method to get data path