public class SJISDistributionAnalysis extends JISDistributionAnalysis
Modifier and Type | Field and Description |
---|---|
static int |
HIGHBYTE_BEGIN_1 |
static int |
HIGHBYTE_BEGIN_2 |
static int |
HIGHBYTE_END_1 |
static int |
HIGHBYTE_END_2 |
static int |
LOWBYTE_BEGIN_1 |
static int |
LOWBYTE_BEGIN_2 |
JIS_TYPICAL_DISTRIBUTION_RATIO
charToFreqOrder, done, ENOUGH_DATA_THRESHOLD, MINIMUM_DATA_THRESHOLD, SURE_NO, SURE_YES, typicalDistributionRatio
Constructor and Description |
---|
SJISDistributionAnalysis() |
Modifier and Type | Method and Description |
---|---|
protected int |
getOrder(byte[] buf,
int offset) |
getConfidence, gotEnoughData, handleData, handleOneChar, reset, setOption
public static final int HIGHBYTE_BEGIN_1
public static final int HIGHBYTE_END_1
public static final int HIGHBYTE_BEGIN_2
public static final int HIGHBYTE_END_2
public static final int LOWBYTE_BEGIN_1
public static final int LOWBYTE_BEGIN_2
protected int getOrder(byte[] buf, int offset)
getOrder
in class CharDistributionAnalysis
Copyright © 2014. All rights reserved