Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
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
|
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
|
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
|