Update README.md

This commit is contained in:
千住柱間 2025-05-27 01:13:34 +00:00
commit 99e7efe4db

View file

@ -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%
```