Dict file is not necessary
fy0 opened this issue · comments
Just use text like "zh, jp" is ok.
Thanks for mention.
I will fix it after testing.
@leopku Wait! Seems it's load from GOPATH, and my program crashed on another device:
2022/03/16 19:23:02 Could not load dictionaries: "github.com/go-ego/gse@v0.70.0/data/dict/zh/t_1.txt", open github.com/go-e
go/gse@v0.70.0/data/dict/zh/t_1.txt: no such file or directory
btw: gse takes lot of memory, is any way to reduce memory usage?
Right. App would be crashed if binary file was deployed to another device.
For memory usage, my suggestion is making the function as a service alone.
Closed as it seems not a problem.
Feel free to reopen for any questions.