+ public void testFr() throws IOException {
+ final RandomAccessFile raf = new RandomAccessFile(OUTPUTS + "FR.quickdic", "r");
+ final Dictionary dict = new Dictionary(raf);
+ final Index frIndex = dict.indices.get(0);
+
+ // Now they're all cached, we shouldn't have to search.
+ for (final IndexEntry indexEntry : frIndex.sortedIndexEntries) {
+ System.out.println(indexEntry.token);
+ }
+
+ raf.close();
+ }
+
+