+ public void testTextNorm() {
+ assertEquals("hoschen", "Höschen".toLowerCase(Language.de.locale));
+ }
+
+ public void testChemnitz() throws IOException {
+ final RandomAccessFile raf = new RandomAccessFile("testdata/de-en_chemnitz.dict", "r");
+ final Dictionary dict = new Dictionary(raf);
+ final Index deIndex = dict.indices.get(0);
+
+ //assertSearchResult("Höschen", "Hos", deIndex.findLongestSubstring("Hos", new AtomicBoolean(false)));
+ //assertSearchResult("Höschen", "hos", deIndex.findLongestSubstring("hos", new AtomicBoolean(false)));
+
+
+ raf.close();
+ }