public int getType() { POS pos = getPOS(); if(pos != POS.ADJECTIVE) return pos.getNumber(); return isAdjectiveSatellite() ? 5 : 3; }
public String toString() { if (toString == null) toString = makeVersionString(major, minor, bugfix, qualifier); return toString; }
@Override public LexicographerFileInformation getLexicographerFileInformation() throws WordNetException { ILexFile lexFile = realSynset.getLexicalFile(); return EnglishWordnetLexicographerFileRetriever.get(lexFile.getNumber()); }
public POS getPOS() { return id.getSynsetID().getPOS(); }
public String toString(){ checkHeadSet(); if(toString == null) toString = toString(this); return toString; }
public int getHeadID() { checkHeadSet(); return headLexID; }
@Override public int hashCode() { return hashCode(major, minor, bugfix, qualifier); }
public int hashCode() { final int PRIME = 31; int result = 1; result = PRIME * result + offset; result = PRIME * result + pos.hashCode(); return result; }
public int getOffset() { return id.getOffset(); }
public POS getPOS() { return id.getPOS(); }
public IWord toWord(ISynset synset) { return new Word(synset, num, lemma, lexID, marker, verbFrames, relatedWords); }
public int getSynsetType() { return isAdjSat ? 5 : pos.getNumber(); }
public String getHeadWord() { checkHeadSet(); return headLemma; }