baidu / baidu/lac

求大佬帮忙:java版,只添加自定义词“便利店”后,按顺序输入一些话,会导致程序崩溃,在win和linux都出现该错误

Open
#154 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
4k
Forks
592
PR merge metrics
No merged PRs in 30d

Description

java版,只添加自定义词“便利店”后,按顺序输入一些话,会导致程序崩溃,在win和linux都出现该错误。
输入顺序如下两个示例(两句话区别为“的”),输入第二句会导致程序崩溃:
帮我查一下张三的便利店
帮我查一下张三便利店

还请大佬们帮忙看看,谢谢!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the crash in the Java version with the custom word “便利店,” entering the two example sentences in order on a supported platform. Inspect the resulting exception and the Java code handling custom vocabulary and sequential input; done means both sentences complete without crashing and a regression test covers the distinction involving “的”.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.