Is there any command line offline dictionary? I know that there are some like StarDict and Artha but how about one in the command line?
Also, I tried
dict but it is an online dictionary.
sdcv is the console version of Stardict.
1. Install the dictionary
Run the following command in the terminal:
2. Download dictionary files
Download the dictionary files according to your requirements from the following sources.
3. Install downloaded dictionaries
Make the directory where
The next command depends on whether the downloaded file is a
If it is a
If it is a
To search for a word use:
You probably also have
or use it on a single word:
Easy offline dictd installation
Here is an example of installing
There are many more dictionairies available from the standard repositories.
If you're just looking to see if a word is spelled correctly or exists, you can use grep to look through the word list files in /usr/share/dict/, which are provided by the appropriate wordlist packages. An example to see if "emu" is a valid word:
That doesn't have any definitions, however.
How about downloading dictionary text file from the sites for example this link, and then finding the text with command like
Or also by using vim editor to search for the word with its command eg.