org.apache.uima.internal.util.text
public interface INormalizationResult
Modifier and Type | Method and Description |
---|---|
boolean |
ensureLength(int len) |
char[] |
getBuffer()
Returns the char[] holding the normalized text.
|
int |
getStartIndex() |
int |
getStopIndex() |
void |
setBuffer(char[] cs)
Package friendy.
|
void |
setStartIndex(int i)
Package friendy.
|
void |
setStopIndex(int i)
Package friendy.
|
char[] getBuffer()
Note: do not keep a handle to the char[] between calls to normalize()
,
since the char[] buffer may be reallocated.
AbstractCustomNormalizer#normalize(char[],int,int)
.int getStartIndex()
getBuffer()
), where the first normalized
character has been written.int getStopIndex()
getBuffer()
).
This index may be used as start index for retrieving the untouched content after the
normalized text (if more is following).void setBuffer(char[] cs)
AbstractCustomNormalizer
.void setStartIndex(int i)
AbstractCustomNormalizer
.void setStopIndex(int i)
AbstractCustomNormalizer
.boolean ensureLength(int len)
Copyright © 2014. All Rights Reserved.