diff --git a/README.md b/README.md index d2fc173..8975fe1 100644 --- a/README.md +++ b/README.md @@ -26,5 +26,20 @@ Welcome to **Hakurei**, the ultimate Japanese tokenizer powered by cutting-edge Installing Hakurei is a breeze!: +- install [xcdat](https://github.com/kampersanda/xcdat)\ +then copy the dictionary from the ```res``` and it should be placed like this: +```bash +hashirama@lisp-machine ~$ ls .local/share/hakurei/ +dict.bin +``` +finally: ```bash $ g++ src/hakurei.cpp -o hakurei +``` +the binary can be placed in ```/bin``` or any other place in the ```$PATH``` + +in goldendict-ng :\ +External programs can be added by opening Preferences (F4) and going to "Sources" > "Programs". +```bash +/home/hashirama/.local/bin/hakurei --goldendict --word %GDWORD% --sentence %GDSEARCH% +``` \ No newline at end of file