com.groupbyinc.flux.common.apache.commons.codec.language.DaitchMokotoffSoundex.class Maven / Gradle / Ivy
???? 2? Ncom/groupbyinc/flux/common/apache/commons/codec/language/DaitchMokotoffSoundex java/lang/Object =com/groupbyinc/flux/common/apache/commons/codec/StringEncoder DaitchMokotoffSoundex.java Scom/groupbyinc/flux/common/apache/commons/codec/language/DaitchMokotoffSoundex$Rule Rule Ucom/groupbyinc/flux/common/apache/commons/codec/language/DaitchMokotoffSoundex$Branch Branch Pcom/groupbyinc/flux/common/apache/commons/codec/language/DaitchMokotoffSoundex$1 java/util/Map$Entry
java/util/Map Entry COMMENT Ljava/lang/String; // DOUBLE_QUOTE " MULTILINE_COMMENT_END */ MULTILINE_COMMENT_START /*
RESOURCE_FILE Dcom/groupbyinc/flux/common/apache/commons/codec/language/dmrules.txt #
MAX_LENGTH I RULES Ljava/util/Map; ?Ljava/util/Map;>; FOLDINGS ;Ljava/util/Map; folding Z
parseRules F(Ljava/util/Scanner;Ljava/lang/String;Ljava/util/Map;Ljava/util/Map;)V "java/lang/IllegalArgumentException 1 java/util/Scanner 3 hasNextLine ()Z 5 6
4 7 nextLine ()Ljava/lang/String; 9 :
4 ; java/lang/String = endsWith (Ljava/lang/String;)Z ? @
> A
startsWith C @
> D indexOf (Ljava/lang/String;)I F G
> H substring (II)Ljava/lang/String; J K
> L trim N :
> O length ()I Q R
> S = U contains (Ljava/lang/CharSequence;)Z W X
> Y split '(Ljava/lang/String;)[Ljava/lang/String; [ \
> ] java/lang/StringBuilder _ ()V a b
` c 'Malformed folding statement split into e append -(Ljava/lang/String;)Ljava/lang/StringBuilder; g h
` i (I)Ljava/lang/StringBuilder; g k
` l parts: n in p toString r :
` s (Ljava/lang/String;)V a u
2 v [Ljava/lang/String; x BMalformed folding statement - patterns are not single characters: z charAt (I)C | }
> ~ java/lang/Character ? valueOf (C)Ljava/lang/Character; ? ?
? ? put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; ? ? ? \s+ ? $Malformed rule statement split into ? stripQuotes &(Ljava/lang/String;)Ljava/lang/String; ? ?
? K(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V a ?
?
access$000 i(Lcom/groupbyinc/flux/common/apache/commons/codec/language/DaitchMokotoffSoundex$Rule;)Ljava/lang/String; ? ?
? get &(Ljava/lang/Object;)Ljava/lang/Object; ? ? ? java/util/List ? java/util/ArrayList ?
? c add (Ljava/lang/Object;)Z ? ? ? ? java/lang/IllegalStateException ? Problem parsing line ' ? ' in ? *(Ljava/lang/String;Ljava/lang/Throwable;)V a ?
? ?
leftCharacter rightCharacter parts pattern replacement1 replacement2 replacement3 r ULcom/groupbyinc/flux/common/apache/commons/codec/language/DaitchMokotoffSoundex$Rule;
patternKey C rules gLjava/util/List; Ljava/util/List; e $Ljava/lang/IllegalArgumentException; cmtI rawLine line scanner Ljava/util/Scanner; location ruleMapping
asciiFoldings currentLine inMultilineComment (I)Ljava/lang/String; J ?
> ? str (Z)V a ?
? this PLcom/groupbyinc/flux/common/apache/commons/codec/language/DaitchMokotoffSoundex;
c - . ? cleanup toCharArray ()[C ? ?
> ? [C ? isWhitespace (C)Z ? ?
? ? toLowerCase (C)C ? ?
? ? + ) ? containsKey ? ? ? charValue ()C ? ?
? ? (C)Ljava/lang/StringBuilder; g ?
` ? ch arr$ len$ i$ input sb Ljava/lang/StringBuilder; encode @com/groupbyinc/flux/common/apache/commons/codec/EncoderException ? RParameter supplied to DaitchMokotoffSoundex encode is not of type java.lang.String ?
? v ? ?
? obj Ljava/lang/Object; soundex ((Ljava/lang/String;Z)[Ljava/lang/String;
source branch branches index ? ?
java/util/LinkedHashSet
c U(Lcom/groupbyinc/flux/common/apache/commons/codec/language/DaitchMokotoffSoundex$1;)V a
java/util/Set ? ( ) java/util/Collections
EMPTY_LIST ? iterator ()Ljava/util/Iterator; ? java/util/Iterator hasNext! 6 " next ()Ljava/lang/Object;$% & matches( @
) clear+ b ?, getReplacements.
/ createBranch Y()Lcom/groupbyinc/flux/common/apache/commons/codec/language/DaitchMokotoffSoundex$Branch;23
4 processNextReplacement (Ljava/lang/String;Z)V67
8, addAll (Ljava/util/Collection;)Z;<= getPatternLength? R
@ sizeB RC finishE b
F
s
nextBranch WLcom/groupbyinc/flux/common/apache/commons/codec/language/DaitchMokotoffSoundex$Branch; force nextReplacement Ljava/util/Iterator; replacements branchingRequired rule inputContext nextBranches iLjava/util/List; branching currentBranches hLjava/util/Set; Ljava/util/Set; lastChar result java/util/HashMap[
\ c java/lang/Class^ getClassLoader ()Ljava/lang/ClassLoader;`a
_b java/lang/ClassLoaderd getResourceAsStream )(Ljava/lang/String;)Ljava/io/InputStream;fg
eh FUnable to load resource: org/apache/commons/codec/language/dmrules.txtj java/io/InputStreaml UTF-8n *(Ljava/io/InputStream;Ljava/lang/String;)V ap
4q / 0
s closeu b
4v entrySet ()Ljava/util/Set;xy z getValue|% }
c sort )(Ljava/util/List;Ljava/util/Comparator;)V??
? ruleList ?Ljava/util/Map$Entry;>; Ljava/util/Map$Entry; rulesIS Ljava/io/InputStream;
ConstantValue Signature Code LocalVariableTable LocalVariableTypeTable LineNumberTable
StackMapTable ?(Ljava/util/Scanner;Ljava/lang/String;Ljava/util/Map;>;Ljava/util/Map;)V
Exceptions
SourceFile InnerClasses ! ? ? ? ? ! " ? $ % &