com.groupbyinc.flux.common.apache.lucene.analysis.ngram.NGramTokenizer.class Maven / Gradle / Ivy
???? 4 ? Fcom/groupbyinc/flux/common/apache/lucene/analysis/ngram/NGramTokenizer ;com/groupbyinc/flux/common/apache/lucene/analysis/Tokenizer NGramTokenizer.java Pcom/groupbyinc/flux/common/apache/lucene/analysis/CharacterUtils$CharacterBuffer @com/groupbyinc/flux/common/apache/lucene/analysis/CharacterUtils CharacterBuffer DEFAULT_MIN_NGRAM_SIZE I DEFAULT_MAX_NGRAM_SIZE
charBuffer RLcom/groupbyinc/flux/common/apache/lucene/analysis/CharacterUtils$CharacterBuffer; buffer [I bufferStart bufferEnd offset gramSize minGram maxGram exhausted Z lastCheckedChar lastNonTokenChar edgesOnly termAtt ULcom/groupbyinc/flux/common/apache/lucene/analysis/tokenattributes/CharTermAttribute; posIncAtt ^Lcom/groupbyinc/flux/common/apache/lucene/analysis/tokenattributes/PositionIncrementAttribute; posLenAtt [Lcom/groupbyinc/flux/common/apache/lucene/analysis/tokenattributes/PositionLengthAttribute; offsetAtt SLcom/groupbyinc/flux/common/apache/lucene/analysis/tokenattributes/OffsetAttribute; $assertionsDisabled (IIZ)V ()V ( *
+ Scom/groupbyinc/flux/common/apache/lucene/analysis/tokenattributes/CharTermAttribute - addAttribute L(Ljava/lang/Class;)Lcom/groupbyinc/flux/common/apache/lucene/util/Attribute; / 0
1 3 \com/groupbyinc/flux/common/apache/lucene/analysis/tokenattributes/PositionIncrementAttribute 5 ! " 7 Ycom/groupbyinc/flux/common/apache/lucene/analysis/tokenattributes/PositionLengthAttribute 9 # $ ; Qcom/groupbyinc/flux/common/apache/lucene/analysis/tokenattributes/OffsetAttribute = % & ? init A )
B this HLcom/groupbyinc/flux/common/apache/lucene/analysis/ngram/NGramTokenizer; (II)V ( )
G F(Lcom/groupbyinc/flux/common/apache/lucene/util/AttributeFactory;IIZ)V C(Lcom/groupbyinc/flux/common/apache/lucene/util/AttributeFactory;)V ( J
K factory @Lcom/groupbyinc/flux/common/apache/lucene/util/AttributeFactory; E(Lcom/groupbyinc/flux/common/apache/lucene/util/AttributeFactory;II)V ( I
P ( F
R "java/lang/IllegalArgumentException T !minGram must be greater than zero V (Ljava/lang/String;)V ( X
U Y (minGram must not be greater than maxGram [ ] _ a newCharacterBuffer U(I)Lcom/groupbyinc/flux/common/apache/lucene/analysis/CharacterUtils$CharacterBuffer; c d
e g getBuffer ()[C i j
k m resizeBuffer (I)[C o p . q incrementToken ()Z java/io/IOException u clearAttributes w *
x z | ~ java/lang/System ? arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V ? ?
? ? ? ? input Ljava/io/Reader; ? ? ? fill f(Lcom/groupbyinc/flux/common/apache/lucene/analysis/CharacterUtils$CharacterBuffer;Ljava/io/Reader;I)Z ? ?
? getLength ()I ? ?
? toCodePoints
([CII[II)I ? ?
? ? ' ? java/lang/AssertionError ?
? + consume ? *
? updateLastNonTokenChar ? *
? j . ? toChars
([III[CI)I ? ?
? setLength X(I)Lcom/groupbyinc/flux/common/apache/lucene/analysis/tokenattributes/CharTermAttribute; ? ? . ? setPositionIncrement (I)V ? ? 6 ? setPositionLength ? ? : ? ?
correctOffset (I)I ? ?
? setOffset ? F > ? termContainsNonTokenChar isEdgeAndPreviousCharIsTokenChar length isTokenChar (I)Z ? ?
? i termEnd java/lang/Character ? charCount ? ?
? ? chr end ? *
? endOffset reset ? *
?
? java/lang/Class ? desiredAssertionStatus ? t
? ?
ConstantValue Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
SourceFile InnerClasses ! ?
? ! " # $ % &