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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LexicalPointerFilter
public LexicalPointerFilter()
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
Author: Dan Bikel