last commits
clone
- read-only
- https://git.cschad.com/Pronounce_this.git
Pronounce this
Dependencies
There is only one required dependency curl
,however the rest require some
configuration before you can replace them.
Optional dependencies
- dmenu
- fzf
- parallel
- mpv
- if you wish to use another media player, make sure you change the variable
PLAYER=YouMediaPlayer
in the line 14
- if you wish to use another media player, make sure you change the variable
Install
git clone https://git.cschad.com/Pronounce_this.git
cd Pronounce_this && chmod +x pt
# Make sure you put the script in your $PATH
./pt # Or 'pt' if the script is in path
To put the script in your path
PATH="$HOME/.local/share/bin/" # Or '/usr/bin'
Usage
- Simple query based search
pt -q <string>
- Generic pronunciation
pt -p "Hello world"
- To list the audio files using dmenu
pt -mq <string>
Orpt -m -q <string>
- To list the audio files using fzf
pt -fq <string>
Orpt -f -q <string>
- Use a specific language code (en,de,fr...)
pt -q <string> -l de
- German grammar pronunciation
pt -c 'verb indikativ praesens'
- For more options see
pt -c -h
- For more options see
Enhancements
- Fzf support
- Dmenu support
- Offline audio downloads
- generic Pronunciation of any language
- POSIX-compliant
- parallel downloads
- Efficient memory usage