@Test public void testLoadDictionaryAndPrintTrie() throws Exception { WordEntry word = Dictionary.searchNoun("괴물"); assertEquals("괴물", word.getString()); Dictionary.printFixedWordDictionary(new PrintWriter(new FileWriter("d:/temp/ka.txt"))); Dictionary.printVerbDictionary(new PrintWriter(new FileWriter("d:/temp/ka_verb.txt"))); }