public class ContextExtractor extends Object
Modifier and Type | Field and Description |
---|---|
protected List<Integer> |
positions |
protected String |
text |
Modifier | Constructor and Description |
---|---|
protected |
ContextExtractor() |
|
ContextExtractor(Field field) |
protected |
ContextExtractor(String text) |
Modifier and Type | Method and Description |
---|---|
protected int |
closest(int key,
List<Integer> list) |
String |
getContext(String label) |
int |
getWindowSize() |
protected void |
init(String text) |
void |
setWindowSize(int windowSize) |
Copyright © 2013. All rights reserved.