@Override public String getPseudoGloss(Entity aEntity, Set<LexicalRelation> aLexicalRelations, Map<SemanticRelation, Integer> aSemanticRelations) throws LexicalSemanticResourceException { return lsr.getPseudoGloss(aEntity, aLexicalRelations, aSemanticRelations); }
private String getGloss(Entity e) throws LexicalSemanticResourceException { String gloss; if (usePseudoGlosses) { gloss = getLexicalSemanticResource().getPseudoGloss(e, lexicalRelations, semanticRelations); } else { gloss = getLexicalSemanticResource().getGloss(e); } return gloss; } }