modnlp.idx.query
public class PrepContextQuery extends java.lang.Object
Horizon
) objects, and a set of
byte offsets per wordform for a specific file
(WordPositionTable
). The main point of this class is
to tabulate the results of wpt lookups for use in
(Dictionary.matchConcordance(PrepContextQuery, int, int[])
)
Constructor and Description |
---|
PrepContextQuery(Horizon lh,
Horizon rh,
WordPositionTable wpt) |
Modifier and Type | Method and Description |
---|---|
Horizon |
getLeftHorizon() |
IntegerSet[] |
getLeftHorizonIntegerSetArray() |
Horizon |
getRightHorizon() |
IntegerSet[] |
getRightHorizonIntegerSetArray() |
public PrepContextQuery(Horizon lh, Horizon rh, WordPositionTable wpt)
public Horizon getLeftHorizon()
public Horizon getRightHorizon()
public IntegerSet[] getLeftHorizonIntegerSetArray()
public IntegerSet[] getRightHorizonIntegerSetArray()