@Override public Entity getMostFrequentEntity(String lexeme) throws LexicalSemanticResourceException { return lsr.getMostFrequentEntity(lexeme); }
@Override public Entity getMostFrequentEntity(String lexeme, PoS pos) throws LexicalSemanticResourceException { return lsr.getMostFrequentEntity(lexeme, pos); } }
@Override public String getMostFrequentSense(String sod) throws SenseInventoryException, UnsupportedOperationException { try { return lsr.getMostFrequentEntity(sod).getId(); } catch (LexicalSemanticResourceException e) { throw new SenseInventoryException(e); } }
@Override public String getMostFrequentSense(String sod, POS pos) throws SenseInventoryException, UnsupportedOperationException { try { PoS lsrPos = LsrSenseInventoryUtil.convertPos(pos); return lsr.getMostFrequentEntity(sod, lsrPos).getId(); } catch (LexicalSemanticResourceException e) { throw new SenseInventoryException(e); } }