Spelling engine for the NATO phonetic alphabet
Project description
nato-spell
nato-spell is a Python package that can be used to spell a string / file with the well-known NATO phonetic alphabet.
Installation
System requirements:
- aplay (ALSA command line player - it may already be installed on your computer)
- python >= 3
Use pip or pipx to install nato-spell
.
pip install nato-spell
Usage
Minimal example
nato-spell SPELLME
Spelling from stdin
echo SPELLME | nato-spell -
Increase the delay between characters (unit is seconds, default is 0)
nato-spell SPELLME --char-delay=1
Use a different sound directory
nato-spell SPELLME --sound-dir=/home/me/my-sound-dir
And finally, an example, where we use them all together.
echo SPELLME | nato-spell - --sound-dir=/home/me/my-sound-dir --char-delay=1
Sound assets
These sounds were published by Tim Kahn and hosted on freesound.org
- Tim Kahn ( https://freesound.org/people/tim.kahn/ )
Thank you Amy Gedgaudas and Tim Kahn for all these sounds.
They're licensed under: http://creativecommons.org/licenses/by/3.0/
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
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
Hashes for nato_spell-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50f98602ed2e16282e210e5f94236a379fbb13cc224acf42872c80f42c1ad87a |
|
MD5 | b9a295ca95ce6c2a46e6521b64c6cd44 |
|
BLAKE2b-256 | 62e52474a06c7c6c049955899856d6a3ede76b5e270705cbc93315cfbaf668f0 |