Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

Wrapper library for accessing the language model tools for CMU Sphinx (CMUCLMTK).

Project description


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::
:depth: 1
:backlinks: none


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


.. 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")


`Jan Holthuis`_ (`@Holzhaus`_) created python-cmuclmtk.


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.

Filename, size & hash SHA256 hash help File type Python version Upload date
cmuclmtk-0.1.1.tar.gz (5.6 kB) Copy SHA256 hash SHA256 Source None Aug 12, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page