GATE
Version 3.1-2270

gate.lexicon
Interface NLGLexWordSense

All Superinterfaces:
LexKBWordSense, MutableLexKBWordSense
All Known Implementing Classes:
NLGLexWordSenseImpl

public interface NLGLexWordSense
extends MutableLexKBWordSense


Method Summary
 void addExtraInfo(String key, Object value)
          Add extra info for the given key and value
 HashMap getExtraInfo()
          Returns all extra info for this entry
 Object getExtraInfo(String key)
          Returns the extra info associated with a key
 void setExtraInfo(HashMap newInfo)
          Sets the extra syntactic info, which is a hash map with keys strings (e.g., synt-category) and values any object that is serialisable
 
Methods inherited from interface gate.lexicon.MutableLexKBWordSense
setOrderInSynset, setSenseNumber
 
Methods inherited from interface gate.lexicon.LexKBWordSense
getOrderInSynset, getPOS, getSenseNumber, getSynset, getWord
 

Method Detail

setExtraInfo

void setExtraInfo(HashMap newInfo)
Sets the extra syntactic info, which is a hash map with keys strings (e.g., synt-category) and values any object that is serialisable


addExtraInfo

void addExtraInfo(String key,
                  Object value)
Add extra info for the given key and value


getExtraInfo

Object getExtraInfo(String key)
Returns the extra info associated with a key


getExtraInfo

HashMap getExtraInfo()
Returns all extra info for this entry


GATE
Version 3.1-2270