Java版本得LAC加载自定义词库之后多次调用,返回的分词结果存在问题?
Open
- Dominant language
- C++
- Stars
- 4k
- Forks
- 592
- PR merge metrics
- No merged PRs in 30d
Description
1、JAVA版本加载自定词库,如果多次调用,返回的分词结果是混乱的。第二次分词结果会出现第一次分词里面的内容。现在的解决办法就是加载自定义文件,然后调用run,如果想再次调用,只能再次加载一次自定文件。
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the Java LAC behavior described: load a custom dictionary, call run multiple times, and compare the returned segmentation results. Trace the Java implementation involved in custom-dictionary loading and repeated run calls; done means each call returns only its own result without content from an earlier call, while preserving custom dictionary behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100