core/target/classes/com/cybozu/labs/langdetect/Detector.class in opener-language-identifier-4.1.0 vs core/target/classes/com/cybozu/labs/langdetect/Detector.class in opener-language-identifier-4.2.0
- old
+ new
@@ -1,91 +1,92 @@
- 2
- c w ? w w w w w w w w
- w
- P
- P
-
-
-
-
-
-
-
-
-
-
- w w
-
- w!
-
- "
- R#
- $
- "
-%& %'
- w() 1*+
- w,
- w-
- w.
- w/ 012
- :
-34
- :5
- w6
- :7?
- :8
- w9
- w:?Jw ;<=
- H >
- H?
- H@
+ 2
+ c x ? x x x x x x x x
+ x
+ P
+ P
+
+
+
+
+
+
+
+
+
+ x x
+
+!" x#
+ R$
+
+ %
+ &
+ %
+'( ')
+ x*+ 1,-
+ x.
+ x/
+ x0
+ x1 234
+ :
+56
+ :7
+ x8
+ :9?
+ ::
+ x;
+ x<?Jw =>?
+ H @
HA
-BCDE
- P F
- R
- RG
- RH
- PI J
- wKL
- wM@È N
- ^ >hOP
- Q
- ^R
- ^A? 1S
- 1T
- PU
-VWXY
- Z
- [
- \
- A]
-^_`
ALPHA_DEFAULT D
ConstantValue ALPHA_WIDTH ITERATION_LIMIT I PROB_THRESHOLD CONV_THRESHOLD BASE_FREQ ' UNKNOWN_LANG Ljava/lang/String; URL_REGEX Ljava/util/regex/Pattern;
+ HB
+ HC
+DEFG
+ P H
+ R
+ RI
+ RJ
+ PK L
+ xMN
+ xO@È P
+ ^ >hQR
+ S
+ ^T
+ ^C
+ ^U? 1V
+ 1W
+ PX
+YZ[\
+ ]
+ ^
+ _
+ C`
+abc
ALPHA_DEFAULT D
ConstantValue ALPHA_WIDTH ITERATION_LIMIT I PROB_THRESHOLD CONV_THRESHOLD BASE_FREQ ' UNKNOWN_LANG Ljava/lang/String; URL_REGEX Ljava/util/regex/Pattern;
MAIL_REGEX wordLangProbMap Ljava/util/HashMap; Signature )Ljava/util/HashMap<Ljava/lang/String;[D>; langlist Ljava/util/ArrayList; )Ljava/util/ArrayList<Ljava/lang/String;>; text Ljava/lang/StringBuffer; langprob [D alpha n_trial max_text_length priorMap verbose Z seed Ljava/lang/Long; <init> /(Lcom/cybozu/labs/langdetect/DetectorFactory;)V Code LineNumberTable LocalVariableTable this %Lcom/cybozu/labs/langdetect/Detector; factory ,Lcom/cybozu/labs/langdetect/DetectorFactory;
-setVerbose ()V setAlpha (D)V setPriorMap (Ljava/util/HashMap;)V p lang i sump LocalVariableTypeTable 9Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Double;>;
StackMapTable
-Exceptions <(Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Double;>;)V setMaxTextLength (I)V append (Ljava/io/Reader;)V length reader Ljava/io/Reader; buf [C a (Ljava/lang/String;)V c C pre cleaningText textWithoutLatin
-latinCount
nonLatinCount detect ()Ljava/lang/String;
probabilities <Ljava/util/ArrayList<Lcom/cybozu/labs/langdetect/Language;>;E getProbabilities ()Ljava/util/ArrayList; list >()Ljava/util/ArrayList<Lcom/cybozu/labs/langdetect/Language;>; detectBlock r j prob t ngrams rand Ljava/util/Random;2 initProbability ()[D
extractNGrams w n ngram 'Lcom/cybozu/labs/langdetect/util/NGram;F +()Ljava/util/ArrayList<Ljava/lang/String;>; updateLangProb ([DLjava/lang/String;D)Z word langProbMap weight wordProbToString ([D)Ljava/lang/String; formatter Ljava/util/Formatter;N
normalizeProb ([D)D maxp sortProbability ([D)Ljava/util/ArrayList; @([D)Ljava/util/ArrayList<Lcom/cybozu/labs/langdetect/Language;>;
unicodeEncode &(Ljava/lang/String;)Ljava/lang/String; st ch <clinit>
-SourceFile
Detector.java y } } b java/lang/StringBuffer cdef java/lang/Stringghiej java/lang/Doublekl .com/cybozu/labs/langdetect/LangDetectExceptionmno 'Prior probability must be non-negative. p /More one of prior probability must be non-zero. dqrstu v wxy z{ |}~ #com/cybozu/labs/langdetect/Language unknown o no features in text java/util/Random l java/lang/StringBuilder > ==> java/util/ArrayList %com/cybozu/labs/langdetect/util/NGramei ( ): java/util/Formatter %s:%.5f java/lang/Object y 0 \u https?://[-_.?&~;+=/#0-9A-Za-z]+ -[-_.0-9A-Za-z]+@[-_0-9A-Za-z]+[-_.0-9A-Za-z]+ #com/cybozu/labs/langdetect/Detector java/io/IOException *com/cybozu/labs/langdetect/DetectorFactory size ()I get (I)Ljava/lang/Object; java/util/HashMap containsKey (Ljava/lang/Object;)Z &(Ljava/lang/Object;)Ljava/lang/Object; doubleValue ()D $com/cybozu/labs/langdetect/ErrorCode InitParamError &Lcom/cybozu/labs/langdetect/ErrorCode; ;(Lcom/cybozu/labs/langdetect/ErrorCode;Ljava/lang/String;)V java/io/Reader ready ()Z read ([C)I ([CII)V java/util/regex/Pattern matcher 3(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; java/util/regex/Matcher
-replaceAll charAt (I)C normalize (C)C (C)Ljava/lang/StringBuffer; java/lang/Character$UnicodeBlock UnicodeBlock InnerClasses of %(C)Ljava/lang/Character$UnicodeBlock; LATIN_EXTENDED_ADDITIONAL "Ljava/lang/Character$UnicodeBlock; CantDetectError java/lang/Long longValue ()J setSeed (J)V nextGaussian nextInt (I)I java/lang/System out Ljava/io/PrintStream; -(Ljava/lang/String;)Ljava/lang/StringBuilder; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; toString java/io/PrintStream println addChar (C)V (I)Ljava/lang/String; add valueOf (D)Ljava/lang/Double; format <(Ljava/lang/String;[Ljava/lang/Object;)Ljava/util/Formatter; (Ljava/lang/String;D)V (ILjava/lang/Object;)V java/lang/Integer toHexString ,(Ljava/lang/String;)Ljava/lang/StringBuffer; subSequence (II)Ljava/lang/CharSequence; 2(Ljava/lang/CharSequence;)Ljava/lang/StringBuffer; compile -(Ljava/lang/String;)Ljava/util/regex/Pattern; java/lang/Character ! w c x y z { y z @ | } z ~ y z g y z E } z z 3 y } } Q* * * * *' * * *
+setVerbose ()V setAlpha (D)V setPriorMap (Ljava/util/HashMap;)V p lang i sump LocalVariableTypeTable 9Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Double;>;
StackMapTable
+Exceptions <(Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Double;>;)V setMaxTextLength (I)V append (Ljava/io/Reader;)V length reader Ljava/io/Reader; buf [C d (Ljava/lang/String;)V c C pre cleaningText textWithoutLatin
+latinCount
nonLatinCount detect ()Ljava/lang/String;
probabilities <Ljava/util/ArrayList<Lcom/cybozu/labs/langdetect/Language;>;G getProbabilities ()Ljava/util/ArrayList; list >()Ljava/util/ArrayList<Lcom/cybozu/labs/langdetect/Language;>; detectBlock r j prob t ngrams rand Ljava/util/Random;4 initProbability ()[D
extractNGrams w n ngram 'Lcom/cybozu/labs/langdetect/util/NGram;H +()Ljava/util/ArrayList<Ljava/lang/String;>; updateLangProb ([DLjava/lang/String;D)Z word langProbMap weight wordProbToString ([D)Ljava/lang/String; formatter Ljava/util/Formatter; stringP
normalizeProb ([D)D maxp sortProbability ([D)Ljava/util/ArrayList; @([D)Ljava/util/ArrayList<Lcom/cybozu/labs/langdetect/Language;>;
unicodeEncode &(Ljava/lang/String;)Ljava/lang/String; st ch <clinit>
+SourceFile
Detector.java z ~ ~ e java/lang/StringBuffer fghi java/lang/Stringjklhm java/lang/Doubleno .com/cybozu/labs/langdetect/LangDetectExceptionpqr 'Prior probability must be non-negative. s /More one of prior probability must be non-zero. gtuvwx y z{| }~ #com/cybozu/labs/langdetect/Language unknown r no features in text java/util/Random o java/lang/StringBuilder > ==> java/util/ArrayList %com/cybozu/labs/langdetect/util/NGramhl ( ): java/util/Formatter %s:%.5f java/lang/Object z 0 \u 'https?://[-_.?&~;+=/#0-9A-Za-z]{1,2076} >[-_.0-9A-Za-z]{1,64}@[-_0-9A-Za-z]{1,255}[-_.0-9A-Za-z]{1,255} #com/cybozu/labs/langdetect/Detector java/io/IOException *com/cybozu/labs/langdetect/DetectorFactory size ()I get (I)Ljava/lang/Object; java/util/HashMap containsKey (Ljava/lang/Object;)Z &(Ljava/lang/Object;)Ljava/lang/Object; doubleValue ()D $com/cybozu/labs/langdetect/ErrorCode InitParamError &Lcom/cybozu/labs/langdetect/ErrorCode; ;(Lcom/cybozu/labs/langdetect/ErrorCode;Ljava/lang/String;)V java/io/Reader ready ()Z read ([C)I ([CII)V java/util/regex/Pattern matcher 3(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; java/util/regex/Matcher
+replaceAll normalize_vi charAt (I)C (C)Ljava/lang/StringBuffer; java/lang/Character$UnicodeBlock UnicodeBlock InnerClasses of %(C)Ljava/lang/Character$UnicodeBlock; LATIN_EXTENDED_ADDITIONAL "Ljava/lang/Character$UnicodeBlock; CantDetectError java/lang/Long longValue ()J setSeed (J)V nextGaussian nextInt (I)I java/lang/System out Ljava/io/PrintStream; -(Ljava/lang/String;)Ljava/lang/StringBuilder; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; toString java/io/PrintStream println addChar (C)V (I)Ljava/lang/String; add valueOf (D)Ljava/lang/Double; format <(Ljava/lang/String;[Ljava/lang/Object;)Ljava/util/Formatter; close (Ljava/lang/String;D)V (ILjava/lang/Object;)V java/lang/Integer toHexString ,(Ljava/lang/String;)Ljava/lang/StringBuffer; subSequence (II)Ljava/lang/CharSequence; 2(Ljava/lang/CharSequence;)Ljava/lang/StringBuffer; compile -(Ljava/lang/String;)Ljava/util/regex/Pattern; java/lang/Character ! x c y z { | z { @ } ~ { z { h z { E ~ { { 3 z ~ ~ P* * * * *' * * *
*+ *+
* Y *+
- 6
X J L M N O # P ( Q - Y 5 Z = [ H \ P ] Q Q 4 *
- c d >