public class Nysiis extends Object implements Simplifier
Nysiis
Constructor and Description |
---|
Nysiis()
Creates an instance of the Nysiis encoder with strict mode (original
form), i.e.
|
Nysiis(boolean strict)
Create an instance of the Nysiis simplifier with the specified strict
mode:
true : encoded strings have a maximum length of 6
false : encoded strings may have arbitrary length
|
Modifier and Type | Method and Description |
---|---|
String |
simplify(String input)
Simplifiers the input string.
|
String |
toString() |
public Nysiis()
public Nysiis(boolean strict)
true
: encoded strings have a maximum length of 6false
: encoded strings may have arbitrary lengthstrict
- the strict modepublic String simplify(String input)
Simplifier
simplify
in interface Simplifier
input
- string to simplifyCopyright © 2014–2018. All rights reserved.