extend macOS speech commands
Project description
Installation
$ [sudo] pip install mac-speech-commands
Examples
russian minutes plural:
import mac_speech_commands
import plural_ru
def ru_minutes(value):
return "%s %s" % (value.replace("1","одну"),plural_ru.ru(int(value),['минуту','минуты','минут']))
text="... длится [[ru:minutes 10]]"
functions = {"ru:minutes":ru_minutes}
mac_speech_commands.replace(text,functions)
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
Close
Hashes for mac-speech-commands-2020.12.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d813cb9c5bfa702e42642a984bb8a8dd14b5ef34b07f3a6e4ac77bbd95b23554 |
|
MD5 | 71a31c683ccd9c8f311b55dc4c378e4a |
|
BLAKE2b-256 | f3834cd9b2e249fad3e6eeac442a70a4a04fca49f45cabfbabb3f0148703dcf2 |