java.lang.ArrayIndexOutOfBoundsException: 148

GitHub | liuyunfanng | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 271#232903504

    GitHub | 7 months ago | liuyunfanng
    java.lang.ArrayIndexOutOfBoundsException: 148
  2. 0

    NLPTokenizer分词时用到的核心词典转移矩阵

    GitHub | 7 months ago | liuyunfanng
    java.lang.ArrayIndexOutOfBoundsException: 148

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      148

      at com.hankcs.hanlp.algoritm.Viterbi.compute()
    2. com.hankcs.hanlp
      NLPTokenizer.segment
      1. com.hankcs.hanlp.algoritm.Viterbi.compute(Viterbi.java:121)
      2. com.hankcs.hanlp.seg.WordBasedGenerativeModelSegment.speechTagging(WordBasedGenerativeModelSegment.java:531)
      3. com.hankcs.hanlp.seg.Viterbi.ViterbiSegment.segSentence(ViterbiSegment.java:118)
      4. com.hankcs.hanlp.seg.Segment.seg(Segment.java:454)
      5. com.hankcs.hanlp.tokenizer.NLPTokenizer.segment(NLPTokenizer.java:37)
      5 frames
    3. com.hankcs.demo
      DemoCustomNature.main
      1. com.hankcs.demo.DemoCustomNature.main(DemoCustomNature.java:50)
      1 frame