if (entry.getValue() > termMinFrequency)
tagList.add(entry.getKey());
}
b.field("tag", tagList);
StringFreqMap langs = new StringFreqMap();
for (JTweet tw : tweets) {
langs.inc(tw.getLanguage(), 1);
}
List<String> langList = new ArrayList<String>();
for (Entry<String, Integer> lang : langs.getSorted()) {
langList.add(lang.getKey());
}
b.field("lang", langList);
}