org.apache.ctakes.core.ci
Interface TextModifier
- All Known Implementing Classes:
- HyphenTextModifierImpl
public interface TextModifier
Defines a generic interface for modifying text.
Method Summary |
TextModification[] |
modify(java.lang.String text)
Generates modifications for the specified text. |
modify
TextModification[] modify(java.lang.String text)
throws java.lang.Exception
- Generates modifications for the specified text.
- Parameters:
text
- Original document text.
- Returns:
- Array of TextModification objects that describe the
modifications. Offset values are relative to the String object.
- Throws:
java.lang.Exception