import org.apache.lucene.analysis.ja.tokenattributes.ReadingAttribute;
import org.apache.lucene.analysis.tokenattributes.CharTermAttribute;
import org.apache.lucene.analysis.tokenattributes.OffsetAttribute;
import org.apache.lucene.analysis.tokenattributes.PositionIncrementAttribute;
import org.apache.lucene.analysis.tokenattributes.PositionLengthAttribute;
<BUG>import java.io.IOException;
import java.util.Comparator;</BUG>
import java.util.Iterator;
import java.util.List;
<BUG>import java.util.Set;
public class KuromojiSuggestTokenizer extends Tokenizer {</BUG>
private static final Comparator<String> LENGTH_COMPARATOR = new Comparator<String>() {

import org.apache.lucene.analysis.ja.tokenattributes.ReadingAttribute;
import org.apache.lucene.analysis.tokenattributes.CharTermAttribute;
import org.apache.lucene.analysis.tokenattributes.OffsetAttribute;
import org.apache.lucene.analysis.tokenattributes.PositionIncrementAttribute;
import org.apache.lucene.analysis.tokenattributes.PositionLengthAttribute;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import java.util.TreeSet;
public class KuromojiSuggestTokenizer extends Tokenizer {
private static final Comparator<String> LENGTH_COMPARATOR = new Comparator<String>() {
