- Clone the repo.
cd
to Reed and runpod install
.- Download a gzipped, jsonified JMdict_e file (see below) and add it
Reed/Reed/Dictionary
. - Build the project (
CMD+B
) and test targets (CMD+Shift+U
). - You can uncomment and run the unit test
ReedTests/Dictionary/DictionaryParserTests: testReadInDictionaryData
to see if you have your dictionary set up correctly. - Run the project (
CMD+R
) and wait at the splash screen to load the dictionary into Core Data (this may take 6+ minutes on Simulator).
- Download it from the Reed Dropbox root directory.
- This dictionary was last updated 9/17/20, so it may be outdated.
- Download from the official link: a) http://ftp.monash.edu/pub/nihongo/JMdict_e.gz
- Unzip the file.
- Clone the JMdict-parser repo by tkshnwesper: https://github.com/tkshnwesper/JMdict-Parser#readme
- Install its dependencies:
npm i -g jmdict-parser
- Convert the unzipped dictionary to json:
jmdict-parser <your_jmdict_xml_file>
- Compress the json file:
gzip <your_jmdict_json_file>