com.basistech.rlp
Class RLPNEUtils

java.lang.Object
  extended by com.basistech.rlp.RLPNEUtils

Deprecated. As of RLP 5.4, replaced with NEConstants.

public abstract class RLPNEUtils
extends Object

Functions used in conjunction with named entities.


Constructor Summary
RLPNEUtils()
          Deprecated.  
 
Method Summary
static int getFulltype(int t)
          Deprecated. As of RLP 5.4, replaced with NEConstants.
static int getSource(int t)
          Deprecated. As of RLP 5.4, replaced with NEConstants.
static int getSubtype(int t)
          Deprecated. As of RLP 5.4, replaced with NEConstants.
static int getType(int t)
          Deprecated. As of RLP 5.4, replaced with NEConstants.
static boolean isFACILITY(int t)
          Deprecated. As of RLP 5.4, replaced with NEConstants.
static boolean isGPE(int t)
          Deprecated. As of RLP 5.4, replaced with NEConstants.
static boolean isIDENTIFIER(int t)
          Deprecated. As of RLP 5.4, replaced with NEConstants.
static boolean isLOCATION(int t)
          Deprecated. As of RLP 5.4, replaced with NEConstants.
static boolean isNONE(int t)
          Deprecated. As of RLP 5.4, replaced with NEConstants.
static boolean isORGANIZATION(int t)
          Deprecated. As of RLP 5.4, replaced with NEConstants.
static boolean isPERSON(int t)
          Deprecated. As of RLP 5.4, replaced with NEConstants.
static boolean isTEMPORAL(int t)
          Deprecated. As of RLP 5.4, replaced with NEConstants.
static boolean isVEHICLE(int t)
          Deprecated. As of RLP 5.4, replaced with NEConstants.
static boolean isWEAPON(int t)
          Deprecated. As of RLP 5.4, replaced with NEConstants.
static int setSource(int s, int t)
          Deprecated. As of RLP 5.4, replaced with NEConstants.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RLPNEUtils

public RLPNEUtils()
Deprecated. 
Method Detail

getType

public static int getType(int t)
Deprecated. As of RLP 5.4, replaced with NEConstants.

Returns the type of the Named Entity Type

Parameters:
t - Named entity type ID.
Returns:
Type.

getSubtype

public static int getSubtype(int t)
Deprecated. As of RLP 5.4, replaced with NEConstants.

Returns the subtype of the Named Entity Type

Parameters:
t - named entity type ID
Returns:
Subtype.

getSource

public static int getSource(int t)
Deprecated. As of RLP 5.4, replaced with NEConstants.

Returns the ID of the language processor the named entity type came from.

Parameters:
t - Named entity type ID.
Returns:
LP Language Processr ID.

getFulltype

public static int getFulltype(int t)
Deprecated. As of RLP 5.4, replaced with NEConstants.

Returns the fulltype. Removes the language proceessor source information, which is useful when comparing to constants.

Parameters:
t - Named entity type ID.
Returns:
Type.

setSource

public static int setSource(int s,
                            int t)
Deprecated. As of RLP 5.4, replaced with NEConstants.

Sets the source (language processor) for the specified named entity.

Parameters:
s - - The language processor ID.
t - - The type.
Returns:
The composed type.

isNONE

public static boolean isNONE(int t)
Deprecated. As of RLP 5.4, replaced with NEConstants.

Determines if the named entity is unknown.

Parameters:
t - Named entity type ID.
Returns:
true if the named entity is unknown, otherwise false.

isPERSON

public static boolean isPERSON(int t)
Deprecated. As of RLP 5.4, replaced with NEConstants.

Determines if the named entity is a person.

Parameters:
t - Named entity type ID.
Returns:
true if the named entity is a person, otherwise false.

isORGANIZATION

public static boolean isORGANIZATION(int t)
Deprecated. As of RLP 5.4, replaced with NEConstants.

Determines if the named entity is an organization.

Parameters:
t - Named entity type ID.
Returns:
true if the named entity is an organization, otherwise false.

isLOCATION

public static boolean isLOCATION(int t)
Deprecated. As of RLP 5.4, replaced with NEConstants.

Determines if the named entity is a location.

Parameters:
t - Named entity type ID.
Returns:
true if the named entity is a location, otherwise false.

isFACILITY

public static boolean isFACILITY(int t)
Deprecated. As of RLP 5.4, replaced with NEConstants.

Determines if the named entity is a facility.

Parameters:
t - Named entity type ID.
Returns:
true if the named entity is a facility, otherwise false.

isGPE

public static boolean isGPE(int t)
Deprecated. As of RLP 5.4, replaced with NEConstants.

Determines if the named entity is a geo-political entity (GPE).

Parameters:
t - Named entity type ID.
Returns:
true if the named entity is a GPE, otherwise false.

isVEHICLE

public static boolean isVEHICLE(int t)
Deprecated. As of RLP 5.4, replaced with NEConstants.

Determines if the named entity is a vehicle.

Parameters:
t - Named entity type ID.
Returns:
true if the named entity is a vehicle, otherwise false.

isWEAPON

public static boolean isWEAPON(int t)
Deprecated. As of RLP 5.4, replaced with NEConstants.

Determines if the named entity is a weapon.

Parameters:
t - Named entity type ID
Returns:
true if the named entity is a weapon, otherwise false.

isTEMPORAL

public static boolean isTEMPORAL(int t)
Deprecated. As of RLP 5.4, replaced with NEConstants.

Determines if the named entity is temporal (such as date or time).

Parameters:
t - Named entity type ID.
Returns:
true if the named entity is temporal, otherwise false.

isIDENTIFIER

public static boolean isIDENTIFIER(int t)
Deprecated. As of RLP 5.4, replaced with NEConstants.

Determines if the named entity is an identifier.

Parameters:
t - Named entity type ID.
Returns:
true if the named entity is a identifier, otherwise false.


Copyright © 2004-2008 Basis Technology Corporation. All Rights Reserved.