For instance, 'à' will be replaced by 'a'.
super(input);
final Token t = input.next(); if (t != null) t.setTermText(removeAccents(t.termText())); return t;
To replace accented characters in a String by unaccented equivalents. final StringBuffer output = new StringBuffer(); for (int i = 0; i < input.length(); i++) { switch (input.charAt(i)) { case '\u00C0" : // Ã
final StringBuffer output = new StringBuffer(); for (int i = 0; i < input.length(); i++) { switch (input.charAt(i)) { case '\u00C0" : // Ã