com.groupbyinc.flux.common.apache.lucene.search.spell.NGramDistance.class Maven / Gradle / Ivy
???? 4 o Ccom/groupbyinc/flux/common/apache/lucene/search/spell/NGramDistance java/lang/Object Dcom/groupbyinc/flux/common/apache/lucene/search/spell/StringDistance NGramDistance.java n I (I)V ()V
this ELcom/groupbyinc/flux/common/apache/lucene/search/spell/NGramDistance; size
getDistance '(Ljava/lang/String;Ljava/lang/String;)F java/lang/String length ()I
java/lang/Math min (II)I !
" charAt (I)C $ %
& max ( !
) [C + [F - substring (II)Ljava/lang/String; / 0
1 toCharArray ()[C 3 4
5 (FF)F 7
8 i ni ti tn ec F _d source Ljava/lang/String; target sl tl cost sa p d j t_j hashCode getClass ()Ljava/lang/Class; M N
O L
Q equals (Ljava/lang/Object;)Z obj Ljava/lang/Object; o toString ()Ljava/lang/String; java/lang/StringBuilder Z
[
ngram( ] append -(Ljava/lang/String;)Ljava/lang/StringBuilder; _ `
[ a (I)Ljava/lang/StringBuilder; _ c
[ d ) f X Y
[ h Code LocalVariableTable LineNumberTable
StackMapTable
SourceFile !
j F
*? *? ? k
l ) * +
j 4 *? ? k l
1 2 j ?+? >,? 6? ?
? ??6*? ? *? ? 96? #6? +? ',? '? ??????? *?n?*? `d?:6?? /*? d? U? +*? d`? 'U????`?:`?: *? ?:
6? ?Q????6? *? ? L6*? d?
U????*? d6*? ?
,*? dd? 'U???? ,*? d? 2? 6:
?Q6? z6*? 66
*? ? 1d
`4
4? ?? d
`4? ???
?????n8
d0b0b? 9d0
b? 9Q????: :: ????0? *?nf? k ? 5 ' : = ; w 4 : ? <