gate.wordnet
Class WNHelper

java.lang.Object
  extended bygate.wordnet.WNHelper

final class WNHelper
extends Object


Constructor Summary
private WNHelper()
           
 
Method Summary
static int AdjPosition2int(net.didion.jwnl.data.Adjective adj)
          converts JWNL adjective position to GATE adjective position
static net.didion.jwnl.data.PointerType int2PointerType(int type)
          converts GATE pointer type to JWNL pointer type
static net.didion.jwnl.data.POS int2POS(int pos)
          converts GATE pos to JWNL pos
static boolean isValidLexicalPointer(int _type)
          checks if relation is lexical one
static boolean isValidSemanticPointer(int _type)
          checks if relation is semantic one
static int PointerType2int(net.didion.jwnl.data.PointerType pt)
          converts JWNL pointer type to GATE pointer type
static int POS2int(net.didion.jwnl.data.POS pos)
          converts JWNL pos to GATE pos
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WNHelper

private WNHelper()
Method Detail

int2POS

public static net.didion.jwnl.data.POS int2POS(int pos)
converts GATE pos to JWNL pos


POS2int

public static int POS2int(net.didion.jwnl.data.POS pos)
converts JWNL pos to GATE pos


PointerType2int

public static int PointerType2int(net.didion.jwnl.data.PointerType pt)
converts JWNL pointer type to GATE pointer type


int2PointerType

public static net.didion.jwnl.data.PointerType int2PointerType(int type)
converts GATE pointer type to JWNL pointer type


isValidSemanticPointer

public static boolean isValidSemanticPointer(int _type)
checks if relation is semantic one


isValidLexicalPointer

public static boolean isValidLexicalPointer(int _type)
checks if relation is lexical one


AdjPosition2int

public static int AdjPosition2int(net.didion.jwnl.data.Adjective adj)
converts JWNL adjective position to GATE adjective position