Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在浏览器上运行时如何使用自定义词典? #3

Open
tianfeng98 opened this issue Apr 11, 2023 · 1 comment
Open

在浏览器上运行时如何使用自定义词典? #3

tianfeng98 opened this issue Apr 11, 2023 · 1 comment

Comments

@tianfeng98
Copy link

init时的参数dictPathuserDictPath传给了c++程序,这在浏览器中无法使用。我不太了解webassembly,不知道能否传入词典文本或二进制数据,模拟文件系统路径再传给c++程序。

@HerrCai0907
Copy link
Owner

HerrCai0907 commented Apr 13, 2023

我一开始试过模拟文件系统,但emscripten好像不支持,我想试试能不能在上游直接加一组流式的接口
yanyiwu/cppjieba#179

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants