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.7.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c761ee3ed7c6ede12ff5f78b753477203cf65e834a4f5a34205135b3197fe1e |
|
MD5 | a4b6a67eb78c3ef81b3fb3c7ed43bb34 |
|
BLAKE2b-256 | f00212c0a2c1dc30fdafa1c5ee64910c2e1511f02c1d44bc8dfac456d790a610 |