description | A simple Japanese-English dictionary for Linux and Windows |
homepage URL | http://aoi.souko.cz |
owner | aoi@souko.cz |
last change | Sun, 7 Jul 2013 17:50:41 +0000 (7 19:50 +0200) |
URL | git://repo.or.cz/aoi.git |
| https://repo.or.cz/aoi.git |
push URL | ssh://repo.or.cz/aoi.git |
| https://repo.or.cz/aoi.git (learn more) |
bundle info | aoi.git downloadable bundles |
content tags
|
|
README
Requires C++11 and C99 capable compiler. Tested with GCC 4.7+ and CLANG 3.2+.
The Makefile should work under GNU/Linux and MinGW32 (in Windows).
Under MinGW32 is the program compiled statically, in other systems dynamically.
Needed libraries:
fltk-1.3.x
libcurl
zlib
BUILDING:
Extract source (or clone GIT repository), go to the extracted directory and type
make
or
make distro (this will strip binary)
MINGW32 notes:
- the 'mingw-to-string' patch is required (http://www.tehsausage.com/mingw-to-string)
BUILDING THE DATABASE:
Needed tools:
python3
(optionally) UNIX-like shell (under Windows e.g. MSYS from MinGW32)
You will also need following files:
JMDict_e.gz
kanjidic2.xml.gz
kradfile-u.gz
jpn_indices.csv (from tatoeba.org)
sentences.csv (from tatoeba.org)
If you have UNIX-like shell:
- go to the directory /tools
- edit source file locations in build_db.sh
- run build_db.sh
- run 'aoi -loaddb dbscript.sql.gz' and wait for a few minutes
Else:
- go to the directory /tools
- run 'aoi -parse jmdict'
- run 'aoi -parse kanjidic'
- run parse_kradfile.py
- run parse_tatoeba.py
- concatenate files script.jmdict.sql, script.kanjidic.sql, script.components.sql
and scripts.tatoeba.sql IN THIS ORDER
- place these 2 lines at the end of concatenated file (under 'end transaction'):
REPLACE INTO aoi (key,val) VALUES ('db_version','VERSION');
REPLACE INTO aoi (key,val) VALUES ('db_created','DATE');
- run 'aoi -loaddb CONCATENATED_FILE' and wait for a few minutes