modnlp.idx.inverted.jpsegmenter
public class BasicCodePointReader extends java.lang.Object implements CodePointReader
getAlternationCodePoint()
?????
????????????????Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_ALTERNATION_CODEPOINT
??????????????????????
|
Constructor and Description |
---|
BasicCodePointReader(java.io.Reader reader)
??????????????????
|
Modifier and Type | Method and Description |
---|---|
int |
getAlternationCodePoint()
????????????????????????????
|
long |
getPosition()
?????????????????????
????????????char?????????
?????????????????2??????
|
int |
read()
???????????????
|
void |
reset()
??????????
|
void |
setAlternationCodePoint(int cp)
?????????????????????????????
?????????????????????
??????
|
public static final int DEFAULT_ALTERNATION_CODEPOINT
public BasicCodePointReader(java.io.Reader reader)
reader
- ??????char??????public void setAlternationCodePoint(int cp)
CodePointReader
setAlternationCodePoint
in interface CodePointReader
cp
- ????????????public int getAlternationCodePoint()
CodePointReader
getAlternationCodePoint
in interface CodePointReader
public long getPosition()
CodePointReader
getPosition
in interface CodePointReader
public int read() throws java.io.IOException
CodePointReader
read
in interface CodePointReader
java.io.IOException
public void reset()
CodePointReader
reset
in interface CodePointReader