public abstract class ResourceID extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
id
Id of a
ResourceID |
protected it.uniroma1.lcl.jlt.util.Language |
language |
protected BabelPOS |
pos |
protected BabelSenseSource |
source |
Modifier | Constructor and Description |
---|---|
protected |
ResourceID(String id,
BabelSenseSource source) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getID()
Returns the
ResourceID ID |
it.uniroma1.lcl.jlt.util.Language |
getLanguage() |
BabelPOS |
getPOS()
The part of speech tag associated with the given ID
default null.
|
BabelSenseSource |
getSource()
Get the resource associated to this Id
|
int |
hashCode() |
String |
toString() |
protected final String id
ResourceID
protected BabelPOS pos
protected BabelSenseSource source
protected it.uniroma1.lcl.jlt.util.Language language
protected ResourceID(String id, BabelSenseSource source)
public String getID()
ResourceID
IDResourceID
IDpublic BabelPOS getPOS()
public BabelSenseSource getSource()
public it.uniroma1.lcl.jlt.util.Language getLanguage()
Copyright © 2016. All rights reserved.