public class TokenUtils extends Object
Constructor and Description |
---|
TokenUtils() |
Modifier and Type | Method and Description |
---|---|
static IntPair[] |
getTokenOffsets(String sentence,
String[] tokens)
Takes a string and its tokenizied form, and returns an array of span index pairs.
|
Copyright © 2017. All rights reserved.