yanyiwu / cppjieba

"结巴"中文分词的C++版本
MIT License
2.58k stars 691 forks source link

支持流式接口 #179

Closed HerrCai0907 closed 3 weeks ago

HerrCai0907 commented 1 year ago

我尝试把cppjieba编译成wasm后在web端运行,但通过文件系统集成字典后二进制过大导致加载缓慢。 目前Jieba类的构造方法只支持传路径,可否增加一组构造支持从 std::istream 构造,这样就可以直接通过自己构造一个 istream 的继承类实现动态加载字典

github-actions[bot] commented 1 month ago

This issue has not been updated for over 1 year and will be marked as stale. If the issue still exists, please comment or update the issue, otherwise it will be closed after 7 days.

github-actions[bot] commented 3 weeks ago

This issue has been automatically closed due to inactivity. If the issue still exists, please reopen it.