/* THIS FILE IS NOT VALID JSON, ITS JUST NOTES ABOUT THE EXPECTED STRUCTURE IN OBJECTS LOCATED IN A KAIKKI DICTIONARY */ //relevant object data to extract { "word": string, "lang_code": string, //en, es, pt, etc... "pos": string, //part of speech, noun, verb, etc "senses": [ //various definitions of the word { "glosses": [ //actual definition string, ] } ], "sounds": [ { "tags": [ //recieved pronunciation -important //US ], "ipa": string //OR "enpr": string }, { "audio": string, "ogg_url": URLSTRING }, { "rhymes": string }, { "homophone": string }, ], } //PERMUTE TO > // {{some_path}}/dictionary/{{lang_code}}/{{word}}/{{pos}}/definitions.json // {{some_path}}/dictionary/{{lang_code}}/{{word}}/{{pos}}/sounds.json //definitions.json { "glosses": [ //combined list of glosses ] } //sounds.json { "pronunciations": [ //copies of pronunciation objects from sounds lists ], "audios": [ //copies of audio objects from sounds lists ], "rhymes": [ //collections of strings from rhyme key of rhyme object from sounds lists ], "homophones": [ //same as rhymes but with homphones ] } //thesaurus.json { synonyms: [ ], antynoms: [ ] }