Package com.yahoo.language.process
Interface Transformer
- All Known Implementing Classes:
SimpleTransformer
public interface Transformer
Interface for providers of text transformations such as accent removal.
- Author:
- Mathias Mølster Lidal
-
Method Summary
Modifier and TypeMethodDescriptionaccentDrop
(String input, Language language) Remove accents from input text.
-
Method Details
-
accentDrop
Remove accents from input text.- Parameters:
input
- text to transformlanguage
- language of input text- Returns:
- text with accents removed, or input-text if the feature is unavailable
- Throws:
ProcessingException
- thrown if there is an exception stemming this input
-