diff --git a/README.md b/README.md index 2cd77618a..6004d1f80 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -PocketSphinx 5.0.0 +PocketSphinx 5.0.1 ================== This is PocketSphinx, one of Carnegie Mellon University's open source large diff --git a/build_wheels.sh b/build_wheels.sh deleted file mode 100644 index 7f8037e6e..000000000 --- a/build_wheels.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh - -set -e -VERSION=5.0.0rc3 -U=$(id -u) -G=$(id -g) - -many1_run() { - docker run -v $PWD:$PWD -v $HOME/.cache/pip:/.cache/pip -u $U:$G -w $PWD -it quay.io/pypa/manylinux1_x86_64 "$@" -} -many2014_run() { - docker run -v $PWD:$PWD -v $HOME/.cache/pip:/.cache/pip -u $U:$G -w $PWD -it quay.io/pypa/manylinux2014_x86_64 "$@" -} -many224_run() { - docker run -v $PWD:$PWD -v $HOME/.cache/pip:/.cache/pip -u $U:$G -w $PWD -it quay.io/pypa/manylinux_2_24_x86_64 "$@" -} - -python setup.py clean || true -rm -rf *.whl dist/* py/pocketsphinx.egg-info -python -m build --sdist -docker pull quay.io/pypa/manylinux1_x86_64 -for version in cp39-cp39 cp38-cp38 cp37-cp37m; do - many1_run /opt/python/$version/bin/pip wheel dist/pocketsphinx-$VERSION.tar.gz -done -docker pull quay.io/pypa/manylinux2014_x86_64 -for version in cp310-cp310; do - many2014_run /opt/python/$version/bin/pip -vv wheel dist/pocketsphinx-$VERSION.tar.gz -done -for w in *.whl; do - many2014_run auditwheel repair -w dist $w - rm $w -done diff --git a/cython/README.md b/cython/README.md index ced50d8bd..cf91aad77 100644 --- a/cython/README.md +++ b/cython/README.md @@ -1,4 +1,4 @@ -PocketSphinx 5.0.0 +PocketSphinx 5.0.1 ================== This is PocketSphinx, one of Carnegie Mellon University's open source large diff --git a/cython/pocketsphinx/__init__.py b/cython/pocketsphinx/__init__.py index 6155a5d30..c7e009e00 100644 --- a/cython/pocketsphinx/__init__.py +++ b/cython/pocketsphinx/__init__.py @@ -50,6 +50,8 @@ from ._pocketsphinx import Lattice # noqa: F401 from ._pocketsphinx import Vad # noqa: F401 from ._pocketsphinx import Endpointer # noqa: F401 +from ._pocketsphinx import Alignment # noqa: F401 +from ._pocketsphinx import AlignmentEntry # noqa: F401 from ._pocketsphinx import set_loglevel # noqa: F401 from .segmenter import Segmenter # noqa: F401 diff --git a/docs/source/pocketsphinx.rst b/docs/source/pocketsphinx.rst index 547e5d0ec..a9ef5b83b 100644 --- a/docs/source/pocketsphinx.rst +++ b/docs/source/pocketsphinx.rst @@ -80,3 +80,10 @@ Other classes .. autoclass:: pocketsphinx.Hypothesis :no-members: + +.. autoclass:: pocketsphinx.Alignment + :members: + :undoc-members: + +.. autoclass:: pocketsphinx.AlignmentEntry + :no-members: diff --git a/include/pocketsphinx.h b/include/pocketsphinx.h index af05c14cf..98cb1a7b2 100644 --- a/include/pocketsphinx.h +++ b/include/pocketsphinx.h @@ -1095,8 +1095,8 @@ void ps_get_all_time(ps_decoder_t *ps, double *out_nspeech, /** * @mainpage PocketSphinx API Documentation * @author David Huggins-Daines - * @version 5.0.0 - * @date October 5, 2022 + * @version 5.0.1 + * @date May 16, 2023 * * @tableofcontents{HTML:1} *