Skip to content

Commit 176d149

Browse files
committed
yet more fixes...
1 parent 037f978 commit 176d149

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

pypocketsphinx/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def __init__(self, **kwargs):
8787
elif isinstance(value, str):
8888
config.set_string('-{}'.format(key), value)
8989

90-
super(PyPocketsphinx, self).__init__(config)
90+
super(Pocketsphinx, self).__init__(config)
9191

9292
def __str__(self):
9393
return self.hypothesis()
@@ -151,7 +151,7 @@ def confidence(self):
151151
return self.get_logmath().exp(hyp.prob)
152152

153153

154-
class AudioFile(PyPocketsphinx):
154+
class AudioFile(Pocketsphinx):
155155

156156
def __init__(self, **kwargs):
157157
signal.signal(signal.SIGINT, self.stop)
@@ -188,7 +188,7 @@ def stop(self, *args, **kwargs):
188188
raise StopIteration
189189

190190

191-
class LiveSpeech(PyPocketsphinx):
191+
class LiveSpeech(Pocketsphinx):
192192

193193
def __init__(self, **kwargs):
194194
signal.signal(signal.SIGINT, self.stop)

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ def run(self):
271271

272272
setup(
273273
name='PyPocketsphinx',
274-
version='0.1.19',
274+
version='0.1.20',
275275
description='Python interface to CMU Sphinxbase and Pocketsphinx libraries. Forked from pocketsphinx 0.1.15.',
276276
long_description=open('README.md').read(),
277277
long_description_content_type='text/markdown',
@@ -280,7 +280,7 @@ def run(self):
280280
maintainer='Dmitry Prazdnichnov',
281281
maintainer_email='[email protected]',
282282
url='https://github.com/oyeun/pocketsphinx-python',
283-
download_url='https://github.com/oyeun/pocketsphinx-python/archive/v0.1.19.tar.gz',
283+
download_url='https://github.com/oyeun/pocketsphinx-python/archive/v0.1.20.tar.gz',
284284
packages=['sphinxbase', 'pocketsphinx', 'pypocketsphinx'],
285285
ext_modules=ext_modules,
286286
cmdclass=cmdclass,

0 commit comments

Comments
 (0)