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.
## Installation
On *ArchLinux*, python-cmuclmtk can be installed from the AUR:
```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`:
```bash
$ pip install python-cmuclmtk
```
## Usage
### Example
```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")
```
### API Reference
You can find the [API refence here](http://homepage.rub.de/Jan.Holthuis/cmuclmtk/).
## Authors
*python-cmuclmtk* was created by Jan Holthuis (@Holzhaus).
## License
Please see [LICENSE](LICENSE) file.
*python-cmuclmtk* is a wrapper library for accessing the language model tools for CMU Sphinx (CMUCLMTK). It runs on Python 2 and 3.
## Installation
On *ArchLinux*, python-cmuclmtk can be installed from the AUR:
```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`:
```bash
$ pip install python-cmuclmtk
```
## Usage
### Example
```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")
```
### API Reference
You can find the [API refence here](http://homepage.rub.de/Jan.Holthuis/cmuclmtk/).
## Authors
*python-cmuclmtk* was created by Jan Holthuis (@Holzhaus).
## License
Please see [LICENSE](LICENSE) file.
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.3.tar.gz
(7.1 kB
view details)
File details
Details for the file cmuclmtk-0.1.3.tar.gz
.
File metadata
- Download URL: cmuclmtk-0.1.3.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0536db8fefff87c5d753dabfc7864cb2762ce982494bc72636ecf5886be3f92a |
|
MD5 | b3a86476b5e6b695c05294c473dcc08f |
|
BLAKE2b-256 | 44dd2d2b3648d0224c024748562694a86b8fbe42fb2fcbb238332d6b70262233 |