1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
---
pocketsphinx/__init__.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/pocketsphinx/__init__.py
+++ b/pocketsphinx/__init__.py
@@ -41,12 +41,12 @@ DefaultConfig = Decoder.default_config
def get_model_path():
""" Return path to the model. """
- return os.path.join(os.path.dirname(__file__), 'model')
+ return '/usr/share/pocketsphinx/model/en-us'
def get_data_path():
""" Return path to the data. """
- return os.path.join(os.path.dirname(__file__), 'data')
+ return '/usr/share/pocketsphinx/test/data'
class Pocketsphinx(Decoder):
|