Customization中的add_word方法有问题
Open
- Dominant language
- C++
- Stars
- 4k
- Forks
- 592
- PR merge metrics
- No merged PRs in 30d
Description
你好,在添加干预词的时候我发现了一个问题:
1.用lac.add_word('高科技公司')添加一个词是好用的。
2.用lac.add_word('高科技公司 分词工具')添加两个词就出问题了,最后分出来的词没有干预效果
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the issue through the lac.add_word entry point, comparing one added word with two space-separated words and checking the resulting segmentation. Trace the customization handling for multiple words; it is done when both additions apply their intended segmentation intervention.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100