Skip to content

Pronounce_this is a fast POSIX shell script to help language learners correctly pronounce words

License

Notifications You must be signed in to change notification settings

AnasBoubechra/Pronounce_this

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pronounce this Version 2.0

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

Install

git clone https://github.com/AnasBoubechra/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> Or pt -m -q <string>
  • To list the audio files using fzf pt -fq <string> Or pt -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

Enhancements

  • Fzf support
  • Dmenu support
  • Offline audio downloads
  • generic Pronunciation of any language
  • POSIX-compliant
  • parallel downloads
  • Efficient memory usage

Support

ko-fi

About

Pronounce_this is a fast POSIX shell script to help language learners correctly pronounce words

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages