public class SVMLightParser extends CustomParser
CustomParser.CustomInspectDataOut, CustomParser.DataIn, CustomParser.DataOut, CustomParser.ParserSetup, CustomParser.ParserType, CustomParser.PSetupGuess, CustomParser.StreamData, CustomParser.StreamDataOut
_setup, CHAR_COMMA, CHAR_CR, CHAR_DOUBLE_QUOTE, CHAR_FF, CHAR_LF, CHAR_NULL, CHAR_SINGLE_QUOTE, CHAR_SPACE, CHAR_TAB, CHAR_VT, MAX_PREVIEW_COLS, MAX_PREVIEW_LINES
Constructor and Description |
---|
SVMLightParser() |
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, streamParse
frozenType, init, newInstance, read, toDocField, write, writeJSON, writeJSONFields
public SVMLightParser()
public SVMLightParser(CustomParser.ParserSetup setup)
public SVMLightParser clone()
clone
in class CustomParser
public boolean parallelParseSupported()
parallelParseSupported
in class CustomParser
public static CustomParser.PSetupGuess guessSetup(byte[] bytes)
bytes
- public boolean isCompatible(CustomParser p)
isCompatible
in class CustomParser
public final CustomParser.DataOut parallelParse(int cidx, CustomParser.DataIn din, CustomParser.DataOut dout)
parallelParse
in class CustomParser