@Test
public void test() throws Exception {

	StringProviderMXBean strprovider = AbstractStringProvider.connectToServer(_host, _rmiport, _lm_id);
	System.out.println(strprovider.getPerplexity("Schöne neue Wörld. Schöne neue Wörld.", false));
	System.out.println(Arrays.toString(strprovider.getNgrams("Schöne neue Wörld. Sch0ne neue W0r1d. !plan3t is now live on DuckDuckGo!")));
	new DiffTokenizer().init(new StringReader("!plan3t is now live on DuckDuckGo!")).filteredAndNormalizedTokens(5, 2, true, false).forEach(System.out::println);;
	System.out.println(Arrays.toString(strprovider.getNgrams("M")));
}