Skip to content

nii236/jmdict-toolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

This project contains three main tools.

Go JMDict Fetcher

Running jmdict-toolkit fetch will download the latest gzipped JMDICT from Monash University's FTP server.

Go JMDict Parser

Run jmdict-toolkit parse.

The JMDict project is one of the most popular Japanese-Multilingual dictionaries available today. Many apps are built off of it (in addition to KANJIDIC). The dictionary is free and is in XML format (with a related DTD).

There have been many projects that parse the XML into various formats. This specific implementation has clean 1 to 1 struct declarations with fullnames for each field. The ORM (gorm) handles the relationships between the entries.

SQLite is used as the main DB but in the future a graph based database will be used for more innovative methods of querying the dictionary (Cayley).

Requirements

Spinup Instructions

Clone the repo in a responsible location ($GOPATH/src/github.com/nii236/jmdict-toolkit)

$ go get github.com/nii236/jmdict-toolkit
$ cd $GOPATH/src/github.com/nii236/jmdict-toolkit
$ glide up
$ go build
$ ./jmdict-toolkit fetch
$ ./jmdict-toolkit parse

Then run the desired commands described above.

About

Parses the JMDICT J-E Dictionary

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published