GithubHelp home page GithubHelp logo

qu4tro / nato-spell Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 3.69 MB

Spelling engine for the NATO phonetic alphabet

Python 100.00%
nato-alphabet-converter nato-phonetic-alphabet nato-spell python

nato-spell's Introduction

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


On Arch Linux, you can install from AUR. For example:

yay -S nato-spell-git


## 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
[MIT](https://choosealicense.com/licenses/mit/)

nato-spell's People

Contributors

qu4tro avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.