sb.setCharAt(i, (char)(c - 'ぁ' + 'ァ'));
}
}
}
private Iterator<String> toEdgeNGrams(List<String> keyStrokes) {
<BUG>Set<String> edgeNGrams = Sets.newTreeSet(LENGTH_COMPARATOR);
</BUG>
for (String keyStroke : keyStrokes) {
for (int i = 0; i < keyStroke.length(); i++) {
edgeNGrams.add(keyStroke.substring(0, i + 1));

sb.setCharAt(i, (char)(c - 'ぁ' + 'ァ'));
}
}
}
private Iterator<String> toEdgeNGrams(List<String> keyStrokes) {
Set<String> edgeNGrams = new TreeSet<>(LENGTH_COMPARATOR);
for (String keyStroke : keyStrokes) {
for (int i = 0; i < keyStroke.length(); i++) {
edgeNGrams.add(keyStroke.substring(0, i + 1));
