Skip to content

Getting to know about this famous open-source pronouncing dictionary

License

Notifications You must be signed in to change notification settings

willianantunes/py-cmu-dict

Repository files navigation

PY-CMU-DICT

I really wanted to know more about CMU Pronouncing Dictionary, that is why I created this project. Here you'll understand how to handle the dictionary, how to deal with its phoneme scheme and how to translate it to IPA format. Main classes/modules that you should check:

Each one has a specific test counterpart that verifies whether the logic is satisfied or not:

Important projects out there

It's important that you know that this playground would not be possible without the following projects:

The first one was indeed the game changer here.

Running the project

Just issue the following command:

docker-compose up remote-interpreter

You can access it through the address http://localhost:8080/admin/. Use admin for username and password.

If you'd like to run without Docker, you can install the dependencies issuing pipenv install. After it's completed, you can enter pipenv shell and then type ./scripts/start-development.sh. After the server is up, use the same address and credentials shown above.

Running all the tests and evaluating lint

For the first one you can do:

docker-compose up tests

For lint:

docker-compose up lint

By the way, all the tests reports will be available in tests-reports folder. It will be created after tests execution. Check start-tests.sh to understand more.

About

Getting to know about this famous open-source pronouncing dictionary

Topics

Resources

License

Stars

Watchers

Forks