core/target/classes/com/cybozu/labs/langdetect/Detector.class in opener-language-identifier-4.2.2 vs core/target/classes/com/cybozu/labs/langdetect/Detector.class in opener-language-identifier-4.3.0
- old
+ new
@@ -1,92 +1,93 @@
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
- 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;
+ d ?
+
+ Q
+
+ Q
+
+
+
+
+
+
+
+
+
+ !
+"# $
+ S%
+
+ &
+ '
+ &
+() (*
+ +, 2-.
+ /
+ 0
+ 1
+ 2 345
+ ;
+67
+ ;8
+ 9
+ ;:?
+ ;;
+ <
+ =?Jw >?@
+ I A
+ IB
+ IC
+ ID
+EFGH
+ Q I
+ S
+ SJ
+ SK
+ QL M
+ NO
+ P@È Q
+ _ >hRS
+ T
+ _U
+ _D
+ _V? 2W
+ 2X
+ QY
+Z[\]
+ ^
+ _
+ `
+ Da
+bc
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
+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
W I K L M N "