gov.llnl.ontology.wordnet
Interface Attribute<T>

All Known Implementing Classes:
DoubleVectorAttribute

public interface Attribute<T>

A simple interface for Attributes for Synsets. An Attribute can represent any type of data, such as feature vectors, additional descriptions, arbitrary links to other Synsets, and anything else.


Method Summary
 void merge(Attribute<T> other)
          Merges this Attribute with another Attribute.
 T object()
          Returns the underlying object for this Attribute.
 

Method Detail

merge

void merge(Attribute<T> other)
Merges this Attribute with another Attribute. Merging can occur when two Synsets are merged together and have Attributes associated with the same label. This method will only be called internally when Synsets are combined together.


object

T object()
Returns the underlying object for this Attribute.



Copyright © 2010-2011. All Rights Reserved.