public interface SDContextGenerator
SentenceDetectorME context generators.| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getContext(java.lang.CharSequence s,
int position)
Returns an array of contextual features for the potential sentence boundary at the
specified position within the specified string buffer.
|
java.lang.String[] getContext(java.lang.CharSequence s,
int position)
s - The String for which sentences are being determined.position - An index into the specified string buffer when a sentence boundary may occur.Copyright © 2010 - 2019 Adobe. All Rights Reserved