GCIDE dictionary in json format. Note that this is not a complete version of GCIDE dictionary, it only has words and their definitions.
The formatted dictionary json files, arranged alphabetically are inside the json_files folder.
The compressed all-in-one file is dictionary.json.
There is also a minimal form of dictionary.json which only has one definition per word (the first one). The file is dictionary_minimal.json.
The basic structure of these files looks like
"word1": [
"definition 1",
"definition 2"
],
"word2": [
"definition 1"
],
"word3": [
"definition 1",
"definition 2",
"definition 3",
]
// etc
If you want to have control over the output json files, there are some variables in the python script which can be configured. The comments should be sufficient to explain what each configuration is for.
- The 'Same as word' or 'See word' type of definitions in dictionary have been replaced by ___word (3 underscores). This is controlled by the
fix_er
variable.
"grains": [
"___grain",
"Pigeon's dung used in tanning. See Grainer. n., 1"
]
- To cleanup generated dictionary, you can use variables like
only_alpha
,remove_prefix
andremove_as
from the script.
- You can use dict.py as a command-line dictionary. It doesn't support word correction though.