Update README.md
This commit is contained in:
parent
844ced543d
commit
99e7efe4db
1 changed files with 15 additions and 0 deletions
15
README.md
15
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%
|
||||
```
|
||||
Loading…
Reference in a new issue