Package opennlp.tools.util.normalizer
Interface CharSequenceNormalizer
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
OffsetAwareNormalizer
A char sequence normalizer, used to adjusting (prune, substitute, add, etc.)
characters in order to remove noise from text
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionnormalize(CharSequence text) Normalizes a sequence of characters.
-
Method Details
-
normalize
Normalizes a sequence of characters.- Parameters:
text- TheCharSequenceto normalize. Must not benull.- Returns:
- The normalized
CharSequence. - Throws:
IllegalArgumentException- Thrown iftextisnull.
-