blob: 2ecfa414572208d219b51e71a9fa1855319b0b52 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.language.process;
/**
* <p>This interface provides NFKC normalization of Strings through the underlying linguistics library.</p>
*
* @author Mathias Mølster Lidal
*/
public interface Normalizer {
/**
* NFKC normalizes a String.
*
* @param input the string to normalize
* @return the normalized string
* @throws ProcessingException if underlying library throws an Exception
*/
String normalize(String input);
}
|