@Test public void testGet() { System.out.println("get"); assertEquals(PennTreebankPOS.NN, EnglishPOSLexicon.get("1000000000000")[0]); assertEquals(PennTreebankPOS.NN, EnglishPOSLexicon.get("absorbent cotton")[0]); assertEquals(PennTreebankPOS.JJ, EnglishPOSLexicon.get("absorbing")[0]); assertEquals(PennTreebankPOS.VB, EnglishPOSLexicon.get("displease")[0]); assertEquals(PennTreebankPOS.RB, EnglishPOSLexicon.get("disposedly")[0]); assertEquals(3, EnglishPOSLexicon.get("disperse").length); }
public static PennTreebankPOS[] get(String word) { return dict.get(word); }
EnglishPOSLexicon { public static PennTreebankPOS[] get(String word) { return dict.get(word); } }
EnglishPOSLexicon { public static PennTreebankPOS[] get(String word) { return dict.get(word); } private  EnglishPOSLexicon(); }
EnglishPOSLexicon { public static PennTreebankPOS[] get(String word) { return dict.get(word); } private  EnglishPOSLexicon(); static PennTreebankPOS[] get(String word); }
EnglishPOSLexicon { public static PennTreebankPOS[] get(String word) { return dict.get(word); } private  EnglishPOSLexicon(); static PennTreebankPOS[] get(String word);  }