use of com.yahoo.language.process.Transformer in project vespa by vespa-engine.
the class NormalizeExpression method doExecute.
@Override
protected void doExecute(ExecutionContext context) {
Transformer transformer = linguistics.getTransformer();
context.setValue(new StringFieldValue(transformer.accentDrop(String.valueOf(context.getValue()), context.resolveLanguage(linguistics))));
}
Aggregations