Wrapper library for accessing the language model tools for CMU Sphinx (CMUCLMTK).
Project description
***************
python-cmuclmtk
***************
python-cmuclmtk is a wrapper library for accessing the language model tools for CMU Sphinx (CMUCLMTK). It runs on Python 2 and 3.
**Table of Contents**
.. contents::
:local:
:depth: 1
:backlinks: none
============
Installation
============
On **ArchLinux**, python-cmuclmtk can be installed from the AUR:
.. code-block:: bash
$ yaourt -S python-cmuclmtk
A **universal installation method** (that works on **Windows**, Mac OS X, Linux, …,
and provides the latest version) is to use `pip`_:
.. code-block:: bash
$ pip install python-cmuclmtk
=====
Usage
=====
.. code-block:: python
import cmuclmtk
text = "This is a test"
# Create a vocab file from text
cmuclmtk.text2wfreq(text, "test.wfreq")
cmuclmtk.wfreq2vocab("test.wfreq", "test.vocab")
# Shortcut
cmuclmtk.text2vocab(text, "test.vocab")
=======
Authors
=======
`Jan Holthuis`_ (`@Holzhaus`_) created python-cmuclmtk.
=======
Licence
=======
Please see `LICENSE`_.
python-cmuclmtk
***************
python-cmuclmtk is a wrapper library for accessing the language model tools for CMU Sphinx (CMUCLMTK). It runs on Python 2 and 3.
**Table of Contents**
.. contents::
:local:
:depth: 1
:backlinks: none
============
Installation
============
On **ArchLinux**, python-cmuclmtk can be installed from the AUR:
.. code-block:: bash
$ yaourt -S python-cmuclmtk
A **universal installation method** (that works on **Windows**, Mac OS X, Linux, …,
and provides the latest version) is to use `pip`_:
.. code-block:: bash
$ pip install python-cmuclmtk
=====
Usage
=====
.. code-block:: python
import cmuclmtk
text = "This is a test"
# Create a vocab file from text
cmuclmtk.text2wfreq(text, "test.wfreq")
cmuclmtk.wfreq2vocab("test.wfreq", "test.vocab")
# Shortcut
cmuclmtk.text2vocab(text, "test.vocab")
=======
Authors
=======
`Jan Holthuis`_ (`@Holzhaus`_) created python-cmuclmtk.
=======
Licence
=======
Please see `LICENSE`_.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cmuclmtk-0.1.0.tar.gz
(5.6 kB
view details)
File details
Details for the file cmuclmtk-0.1.0.tar.gz
.
File metadata
- Download URL: cmuclmtk-0.1.0.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bfcdc294ae0616d26f8b8f97080639e251160e6d20ab28e19b0f0f219b83f8e |
|
MD5 | 59a20869b78c95c2d87fc467f1c1dd26 |
|
BLAKE2b-256 | 30202d81551b9d680ed6022a5ba19a6cd5b99a1fa00409169437117cfe7b1708 |