Class StringAhoCorasickDoubleArrayTrie<V>

  • Type Parameters:
    V - the object type
    All Implemented Interfaces:
    java.io.Serializable

    public class StringAhoCorasickDoubleArrayTrie<V>
    extends com.hankcs.algorithm.AhoCorasickDoubleArrayTrie<V>
    Add method for String and IHitFull.
    Author:
    skjolber
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.hankcs.algorithm.AhoCorasickDoubleArrayTrie

        com.hankcs.algorithm.AhoCorasickDoubleArrayTrie.Hit<V extends java.lang.Object>, com.hankcs.algorithm.AhoCorasickDoubleArrayTrie.IHit<V extends java.lang.Object>, com.hankcs.algorithm.AhoCorasickDoubleArrayTrie.IHitCancellable<V extends java.lang.Object>, com.hankcs.algorithm.AhoCorasickDoubleArrayTrie.IHitFull<V extends java.lang.Object>
    • Field Summary

      • Fields inherited from class com.hankcs.algorithm.AhoCorasickDoubleArrayTrie

        base, check, fail, l, output, size, v
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      V[] getValues()  
      void parseText​(java.lang.String text, com.hankcs.algorithm.AhoCorasickDoubleArrayTrie.IHitFull<V> processor)
      Parse text.
      • Methods inherited from class com.hankcs.algorithm.AhoCorasickDoubleArrayTrie

        build, exactMatchSearch, findFirst, get, get, load, matches, parseText, parseText, parseText, parseText, parseText, save, set, size, transition, transitionWithRoot
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StringAhoCorasickDoubleArrayTrie

        public StringAhoCorasickDoubleArrayTrie()
    • Method Detail

      • parseText

        public void parseText​(java.lang.String text,
                              com.hankcs.algorithm.AhoCorasickDoubleArrayTrie.IHitFull<V> processor)
        Parse text.
        Parameters:
        text - The text
        processor - A processor which handles the output
      • getValues

        public V[] getValues()