aphone

  218 downloads
0.0.7 GPL v3    
  not rated
Reading aspell phonetic grammar rules

description

download

specifications

aphone is a reading aspell grammar format and exposing the result as a plain JSON. Now you can implement your automat with any language, any variants.

Soon, a Java Lucene Filter, python, cython, ruby, javascript…

Install

From pypi:

sudo pip install aphone

Or from source:

python setup.py build
sudo python setup.py install


Usage

Download a dictionnary from Aspell or find it in your Linux. In Ubuntu, they are in /usr/lib/aspell/ folder.

Now, you are looking a file like fr.dat if you are looking for fr dictionnary.

aphone path/to/fr.dat

It will print phonetic rules as a json.
READ MORE   
Last updated on May 4th, 2012

0 User reviews so far.

SUBMIT