Package adams.core.io
Class CoNLLHelper
- java.lang.Object
-
- adams.core.io.CoNLLHelper
-
-
Constructor Summary
Constructors Constructor Description CoNLLHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<String>
group(List<String> lines)
Groups the lines read from a file containing one or more CoNLL token sequences into separate groups, represented by a single string.static adams.data.spreadsheet.SpreadSheet
parse(String content)
Parses the given string in CoNLL format (one token per line).
-
-
-
Field Detail
-
HEADERS
public static final String[] HEADERS
the CoNLL headers.
-
-
Method Detail
-
parse
public static adams.data.spreadsheet.SpreadSheet parse(String content)
Parses the given string in CoNLL format (one token per line).- Parameters:
content
- the content with the tokens- Returns:
- the generated spreadsheet
-
-