Java Access to WordNet

danbikel.wordnet
Class ParentSemanticPointerFilter

java.lang.Object
  |
  +--danbikel.wordnet.ParentSemanticPointerFilter
All Implemented Interfaces:
Filter, Serializable

public class ParentSemanticPointerFilter
extends Object
implements Filter

Allows filtering out all WNPointer objects that are not parent (hypernym) semantic pointers. A semantic pointer, in WordNet parlance, is one that points strictly from synset to synset, as opposed to lemma to synset or synset to lemma.

See Also:
Serialized Form

Constructor Summary
ParentSemanticPointerFilter()
           
 
Method Summary
 boolean f(Object o)
          Returns true if o is a WNPointer object that represents a semantic hypernym pointer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParentSemanticPointerFilter

public ParentSemanticPointerFilter()
Method Detail

f

public boolean f(Object o)
Returns true if o is a WNPointer object that represents a semantic hypernym pointer.

Specified by:
f in interface Filter
Parameters:
o - an object expected to be of type WNPointer.

Java Access to WordNet

Author: Dan Bikel