We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b219c3a commit cf14be6Copy full SHA for cf14be6
src/main/java/com/hankcs/hanlp/seg/Segment.java
@@ -235,6 +235,7 @@ protected static List<Vertex> combineByCustomDictionary(List<Vertex> vertexList)
235
{
236
for (int i = 0; i < wordNet.length; ++i)
237
238
+ if (wordNet[i] == null) continue;
239
BaseNode<CoreDictionary.Attribute> state = CustomDictionary.trie.transition(wordNet[i].realWord.toCharArray(), 0);
240
if (state != null)
241
0 commit comments