public class LBJavaUtils extends Object
Constructor and Description |
---|
LBJavaUtils() |
Modifier and Type | Method and Description |
---|---|
static List<Token> |
recordToLBJTokens(TextAnnotation record)
Converts a record into LBJ Tokens for use with LBJ classifiers.
|
static List<List<String>> |
tokensAsStrings(List<Constituent> tokens,
List<Constituent> sentences,
String rawText)
Converts sentences and tokens represented as spans into a list of lists of string.
|
public static List<Token> recordToLBJTokens(TextAnnotation record)
public static List<List<String>> tokensAsStrings(List<Constituent> tokens, List<Constituent> sentences, String rawText)
Copyright © 2017. All rights reserved.