public class SJISContextAnalysis extends JapaneseContextAnalysis
JapaneseContextAnalysis.Order
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 |
HIRAGANA_HIGHBYTE |
static int |
HIRAGANA_LOWBYTE_BEGIN |
static int |
HIRAGANA_LOWBYTE_END |
DONT_KNOW, ENOUGH_REL_THRESHOLD, jp2CharContext, MAX_REL_THRESHOLD, MINIMUM_DATA_THRESHOLD, NUM_OF_CATEGORY
Constructor and Description |
---|
SJISContextAnalysis() |
Modifier and Type | Method and Description |
---|---|
protected int |
getOrder(byte[] buf,
int offset) |
protected void |
getOrder(JapaneseContextAnalysis.Order order,
byte[] buf,
int offset) |
getConfidence, gotEnoughData, handleData, handleOneChar, reset, setOption
public static final int HIRAGANA_HIGHBYTE
public static final int HIRAGANA_LOWBYTE_BEGIN
public static final int HIRAGANA_LOWBYTE_END
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
protected void getOrder(JapaneseContextAnalysis.Order order, byte[] buf, int offset)
getOrder
in class JapaneseContextAnalysis
protected int getOrder(byte[] buf, int offset)
getOrder
in class JapaneseContextAnalysis
Copyright © 2014. All rights reserved