Java Access to WordNet

danbikel.wordnet
Class LexicalPointerFilter

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

public class LexicalPointerFilter
extends Object
implements Filter

Allows filtering out all WNPointer objects that are not lexical relations (i.e., non-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
LexicalPointerFilter()
           
 
Method Summary
 boolean f(Object o)
          Returns true if o is a WNPointer object that represents a lexical relation, as specified by WNPointer.isLexicalRelation().
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LexicalPointerFilter

public LexicalPointerFilter()
Method Detail

f

public boolean f(Object o)
Returns true if o is a WNPointer object that represents a lexical relation, as specified by WNPointer.isLexicalRelation().

Specified by:
f in interface Filter

Java Access to WordNet

Author: Dan Bikel