public class SVMLightParser extends CustomParser
CustomParser.CustomInspectDataOut, CustomParser.DataIn, CustomParser.DataOut, CustomParser.ParserSetup, CustomParser.ParserType, CustomParser.PSetupGuess, CustomParser.StreamData, CustomParser.StreamDataOut, CustomParser.TypeGuesserDataOut_setup, CHAR_CR, CHAR_DOUBLE_QUOTE, CHAR_LF, CHAR_SINGLE_QUOTE, CHAR_SPACE, CHAR_TAB, MAX_PREVIEW_COLS, MAX_PREVIEW_LINES| Constructor and Description |
|---|
SVMLightParser(CustomParser.ParserSetup setup) |
| Modifier and Type | Method and Description |
|---|---|
SVMLightParser |
clone() |
static CustomParser.PSetupGuess |
guessSetup(byte[] bytes)
Try to parse the bytes as svm light format, return SVMParser instance if the input is in svm light format, null otherwise.
|
boolean |
isCompatible(CustomParser p) |
CustomParser.DataOut |
parallelParse(int cidx,
CustomParser.DataIn din,
CustomParser.DataOut dout) |
boolean |
parallelParseSupported() |
headers, isEOL, isWhitespace, streamParse, streamParsefrozenType, init, newInstance, read, toDocField, write, writeJSON, writeJSONFieldspublic SVMLightParser(CustomParser.ParserSetup setup)
public SVMLightParser clone()
clone in class CustomParserpublic boolean parallelParseSupported()
parallelParseSupported in class CustomParserpublic static CustomParser.PSetupGuess guessSetup(byte[] bytes)
bytes - public boolean isCompatible(CustomParser p)
isCompatible in class CustomParserpublic final CustomParser.DataOut parallelParse(int cidx, CustomParser.DataIn din, CustomParser.DataOut dout)
parallelParse in class CustomParser