Create pronunciation dictionary based on annotations.
Project description
dict-from-annotation
Command-line interface to create pronunciation dictionaries based on manual annotations.
Installation
pip install dict-from-annotation
Usage
# Create example vocabulary
cat > /tmp/vocabulary.txt << EOF
Test?
abc,
/X|MM|L/
/X|MM||L/
EOF
dict-from-annotation-cli \
/tmp/vocabulary.txt \
/tmp/dictionary.dict \
--rest-out /tmp/rest_vocabulary.txt
cat /tmp/dictionary.dict
# -------
# Output:
# -------
# /X|MM|L/ X MM L
# -------
cat /tmp/rest_vocabulary.txt
# -------
# Output:
# -------
# Test?
# abc,
# /X|MM||L/
# -------
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for dict-from-annotation-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b68ccd0d890254f1b98b2f148bd8a87c87f9a1d6328349902c9fcd4484b812e |
|
MD5 | 111cf5f89412dc0bcab3e63dbaae8522 |
|
BLAKE2b-256 | 06ab73aa12605e6d6af732c4deee729bc9fd9902798fca2cda52d8fe576a2247 |
Close
Hashes for dict_from_annotation-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 499c209be509f26dfad0d5f41f05d640f2c2b0f8976990a107aaaccae73b403c |
|
MD5 | bcd74b5379c22043e591645e3505f831 |
|
BLAKE2b-256 | 70808f4cd4899a86393f15520cc811969dfccb205b7ea9a2bc959aeb6701db19 |