예제 #1
0
  @Test
  public void testSearchPrefixedBy_Verb() throws Exception {
    String word = "거치";
    Iterator iter = Dictionary.searchVerbPrefixedBy(word);
    while (iter.hasNext()) {
      WordEntry entry = (WordEntry) iter.next();

      WordEntry dicEntry = Dictionary.search(entry.getString(), PosTag.V);
      assertEquals(dicEntry, entry);
    }
  }