Properties p = new Properties();
try {
p.load(LanguageIdentifier.class.getResourceAsStream("langmappings.properties"));
Enumeration<Object> alllanguages = p.keys();
StringBuffer list = new StringBuffer("Language identifier plugin supports:");
HashMap<NGramEntry, List<NGramEntry>> tmpIdx = new HashMap<NGramEntry, List<NGramEntry>>();
while (alllanguages.hasMoreElements()) {
String lang = (String) alllanguages.nextElement();