We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
word版本1.3 复现可以试试下面的代码。
String msg = "今晚不能摸鱼了,要好好努力哦"; List<Word> words = WordSegmenter.segWithStopWords(msg); StringBuilder sb = new StringBuilder("你刚才说的词有:"); for(Word x:words){ sb.append(x.toString()+"("+x.getPartOfSpeech()+"),"); } System.out.println(sb.toString());
返回的结果是 你刚才说的词有:今晚(null),不能(null),摸鱼(null),了(null),要(null),好好(null),努力(null),哦(null), 不知是使用上还是方法内部出了问题...getPartOfSpeech()方法始终返回了null。
你刚才说的词有:今晚(null),不能(null),摸鱼(null),了(null),要(null),好好(null),努力(null),哦(null),
The text was updated successfully, but these errors were encountered:
No branches or pull requests
word版本1.3
复现可以试试下面的代码。
返回的结果是
你刚才说的词有:今晚(null),不能(null),摸鱼(null),了(null),要(null),好好(null),努力(null),哦(null),
不知是使用上还是方法内部出了问题...getPartOfSpeech()方法始终返回了null。
The text was updated successfully, but these errors were encountered: