Module ImportFrom alias alias alias ImportFrom alias alias alias ImportFrom alias alias alias ImportFrom alias alias alias ImportFrom alias alias alias ImportFrom alias Assign NameStore Num Assign NameStore Num Assign NameStore Num ClassDef bases body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareEq NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Num If CompareGtE NameLoad Num body AugAssignAdd AttributeStore NameLoad attr Num If CompareLt NameLoad AttributeLoad NameLoad attr body If CompareGt Num SubscriptLoad AttributeLoad NameLoad attr Index NameLoad body AugAssignAdd AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareLtE AttributeLoad NameLoad attr Num body Return NameLoad If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore BinOpDiv AttributeLoad NameLoad attr BinOpMult BinOpSub AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareLt NameLoad NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return CompareGt AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Num decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num If CompareGtE NameLoad Num body Return BinOpSub BinOpAdd BinOpMult Num BinOpSub NameLoad Num Call NameLoad SubscriptLoad NameLoad Index Num Num orelse Return Num decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num If CompareGtE NameLoad Num body Return BinOpSub BinOpAdd BinOpMult Num BinOpSub NameLoad Num Call NameLoad SubscriptLoad NameLoad Index Num Num orelse Return Num decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore TupleLoad Call NameLoad SubscriptLoad NameLoad Index Num Call NameLoad SubscriptLoad NameLoad Index Num If BoolOpAnd CompareGtE NameLoad Num CompareGtE NameLoad Num body Return BinOpSub BinOpAdd BinOpMult Num BinOpSub NameLoad Num NameLoad Num orelse Return Num decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore TupleLoad Call NameLoad SubscriptLoad NameLoad Index Num Call NameLoad SubscriptLoad NameLoad Index Num If CompareGtE NameLoad Num body If CompareGtE NameLoad Num body Return BinOpAdd BinOpSub BinOpAdd BinOpMult Num BinOpSub NameLoad Num NameLoad Num Num orelse Return BinOpSub BinOpAdd BinOpMult Num BinOpSub NameLoad Num NameLoad Num orelse Return Num decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore TupleLoad Call NameLoad SubscriptLoad NameLoad Index Num Call NameLoad SubscriptLoad NameLoad Index Num If BoolOpAnd CompareGtE NameLoad Num CompareLtE NameLoad Num body Assign NameStore BinOpMult Num BinOpSub NameLoad Num orelse If BoolOpAnd CompareGtE NameLoad Num CompareLtE NameLoad Num body Assign NameStore BinOpMult Num BinOpAdd BinOpSub NameLoad Num Num orelse Return Num Assign NameStore BinOpSub BinOpAdd NameLoad NameLoad Num If CompareGt NameLoad Num body Assign NameStore Num Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num If CompareGtE NameLoad Num body Return BinOpSub BinOpAdd BinOpMult Num BinOpSub NameLoad Num Call NameLoad SubscriptLoad NameLoad Index Num Num orelse Return Num decorator_list decorator_list
N/A euctwfreq EUCTWCharToFreqOrder EUCTW_TABLE_SIZE EUCTW_TYPICAL_DISTRIBUTION_RATIO euckrfreq EUCKRCharToFreqOrder EUCKR_TABLE_SIZE EUCKR_TYPICAL_DISTRIBUTION_RATIO gb2312freq GB2312CharToFreqOrder GB2312_TABLE_SIZE GB2312_TYPICAL_DISTRIBUTION_RATIO big5freq Big5CharToFreqOrder BIG5_TABLE_SIZE BIG5_TYPICAL_DISTRIBUTION_RATIO jisfreq JISCharToFreqOrder JIS_TABLE_SIZE JIS_TYPICAL_DISTRIBUTION_RATIO compat wrap_ord N/A ENOUGH_DATA_THRESHOLD 1024 N/A SURE_YES 0.99 N/A SURE_NO 0.01 CharDistributionAnalysis N/A N/A __init__ N/A N/A self N/A N/A N/A N/A self _mCharToFreqOrder None N/A N/A self _mTableSize None N/A N/A self _mTypicalDistributionRatio None N/A N/A N/A self reset N/A reset N/A N/A self N/A N/A N/A reset analyser, clear any state N/A N/A self _mDone False N/A N/A self _mTotalChars 0 N/A N/A self _mFreqChars 0 N/A feed N/A N/A self aBuf aCharLen N/A N/A N/A feed a character with known length N/A N/A aCharLen 2 N/A N/A order N/A N/A self get_order aBuf N/A N/A order -1 N/A N/A order 0 N/A N/A N/A self _mTotalChars 1 N/A N/A order N/A self _mTableSize N/A N/A N/A 512 N/A N/A self _mCharToFreqOrder N/A order N/A N/A N/A self _mFreqChars 1 N/A get_confidence N/A N/A self N/A N/A N/A return confidence based on existing data N/A N/A N/A self _mTotalChars 0 N/A N/A SURE_NO N/A N/A N/A self _mTotalChars N/A self _mFreqChars N/A N/A r N/A N/A self _mFreqChars N/A N/A N/A self _mTotalChars N/A self _mFreqChars N/A self _mTypicalDistributionRatio N/A N/A r SURE_YES N/A N/A r N/A SURE_YES N/A got_enough_data N/A N/A self N/A N/A N/A N/A N/A self _mTotalChars ENOUGH_DATA_THRESHOLD N/A get_order N/A N/A self aBuf N/A N/A N/A -1 N/A N/A EUCTWDistributionAnalysis N/A CharDistributionAnalysis N/A __init__ N/A N/A self N/A N/A N/A N/A N/A CharDistributionAnalysis __init__ self N/A N/A self _mCharToFreqOrder EUCTWCharToFreqOrder N/A N/A self _mTableSize EUCTW_TABLE_SIZE N/A N/A self _mTypicalDistributionRatio EUCTW_TYPICAL_DISTRIBUTION_RATIO N/A get_order N/A N/A self aBuf N/A N/A N/A first_char N/A wrap_ord N/A aBuf N/A 0 N/A N/A first_char 196 N/A N/A N/A N/A N/A 94 N/A first_char 196 N/A wrap_ord N/A aBuf N/A 1 161 N/A N/A -1 N/A N/A EUCKRDistributionAnalysis N/A CharDistributionAnalysis N/A __init__ N/A N/A self N/A N/A N/A N/A N/A CharDistributionAnalysis __init__ self N/A N/A self _mCharToFreqOrder EUCKRCharToFreqOrder N/A N/A self _mTableSize EUCKR_TABLE_SIZE N/A N/A self _mTypicalDistributionRatio EUCKR_TYPICAL_DISTRIBUTION_RATIO N/A get_order N/A N/A self aBuf N/A N/A N/A first_char N/A wrap_ord N/A aBuf N/A 0 N/A N/A first_char 176 N/A N/A N/A N/A N/A 94 N/A first_char 176 N/A wrap_ord N/A aBuf N/A 1 161 N/A N/A -1 N/A N/A GB2312DistributionAnalysis N/A CharDistributionAnalysis N/A __init__ N/A N/A self N/A N/A N/A N/A N/A CharDistributionAnalysis __init__ self N/A N/A self _mCharToFreqOrder GB2312CharToFreqOrder N/A N/A self _mTableSize GB2312_TABLE_SIZE N/A N/A self _mTypicalDistributionRatio GB2312_TYPICAL_DISTRIBUTION_RATIO N/A get_order N/A N/A self aBuf N/A N/A N/A N/A first_char second_char N/A N/A wrap_ord N/A aBuf N/A 0 N/A wrap_ord N/A aBuf N/A 1 N/A N/A N/A first_char 176 N/A second_char 161 N/A N/A N/A N/A N/A 94 N/A first_char 176 second_char 161 N/A N/A -1 N/A N/A Big5DistributionAnalysis N/A CharDistributionAnalysis N/A __init__ N/A N/A self N/A N/A N/A N/A N/A CharDistributionAnalysis __init__ self N/A N/A self _mCharToFreqOrder Big5CharToFreqOrder N/A N/A self _mTableSize BIG5_TABLE_SIZE N/A N/A self _mTypicalDistributionRatio BIG5_TYPICAL_DISTRIBUTION_RATIO N/A get_order N/A N/A self aBuf N/A N/A N/A N/A first_char second_char N/A N/A wrap_ord N/A aBuf N/A 0 N/A wrap_ord N/A aBuf N/A 1 N/A N/A first_char 164 N/A N/A N/A second_char 161 N/A N/A N/A N/A N/A N/A 157 N/A first_char 164 second_char 161 63 N/A N/A N/A N/A N/A 157 N/A first_char 164 second_char 64 N/A N/A -1 N/A N/A SJISDistributionAnalysis N/A CharDistributionAnalysis N/A __init__ N/A N/A self N/A N/A N/A N/A N/A CharDistributionAnalysis __init__ self N/A N/A self _mCharToFreqOrder JISCharToFreqOrder N/A N/A self _mTableSize JIS_TABLE_SIZE N/A N/A self _mTypicalDistributionRatio JIS_TYPICAL_DISTRIBUTION_RATIO N/A get_order N/A N/A self aBuf N/A N/A N/A N/A first_char second_char N/A N/A wrap_ord N/A aBuf N/A 0 N/A wrap_ord N/A aBuf N/A 1 N/A N/A N/A first_char 129 N/A first_char 159 N/A N/A order N/A 188 N/A first_char 129 N/A N/A N/A N/A first_char 224 N/A first_char 239 N/A N/A order N/A 188 N/A N/A first_char 224 31 N/A N/A -1 N/A order N/A N/A order second_char 64 N/A N/A second_char 127 N/A N/A order -1 N/A order N/A N/A EUCJPDistributionAnalysis N/A CharDistributionAnalysis N/A __init__ N/A N/A self N/A N/A N/A N/A N/A CharDistributionAnalysis __init__ self N/A N/A self _mCharToFreqOrder JISCharToFreqOrder N/A N/A self _mTableSize JIS_TABLE_SIZE N/A N/A self _mTypicalDistributionRatio JIS_TYPICAL_DISTRIBUTION_RATIO N/A get_order N/A N/A self aBuf N/A N/A N/A char N/A wrap_ord N/A aBuf N/A 0 N/A N/A char 160 N/A N/A N/A N/A N/A 94 N/A char 161 N/A wrap_ord N/A aBuf N/A 1 161 N/A N/A -1 N/A N/A