int c;
while ((c = is.read()) != -1) {
txtStr.append((char) c);
}
KEAPhraseFilter kpf = new KEAPhraseFilter();
HashMap<String, Counter> hash = m_KEAFilter.getPhrasesForDictionary(kpf.tokenize(txtStr
.toString()));
Iterator<String> it = hash.keySet().iterator();
while (it.hasNext()) {
String phrase = it.next();