On most repositories, there's sdcv
, the console version of StarDict program.
Freely available dictionaries in StarDict format for offline use.
Use html2text to correct the dictionary's HTML output for reading at the console.
Set up an alias for easy lookup.
For example, this alias would setup french definition's:
sdcvfr() {
sdcv --data-dir="/path/to/french_file" --non-interactive "$1" | html2text --ignore-emphasis
}
alias sdf='sdcvfr'
Now, just type: sdf développeur
Any language, instantly, with a single command!
Top comments (0)