public class SynsetMicroframe extends Microframe
IRI_MARKERPREFIX_FRAMEBASE, SEPARATOR| Constructor and Description |
|---|
SynsetMicroframe() |
SynsetMicroframe(java.lang.String id) |
| Modifier and Type | Method and Description |
|---|---|
static SynsetMicroframe |
create(int synsetOffset,
java.lang.String representativeLemma,
POS pos) |
boolean |
extractComponents()
Extracts components from IRIs
(Current implementations use Regex over the IRIs but that may change in the future)
NOTE: It is case sensitive!! If the IRI used in the constructor had case modified (some servers do this), the correct functioning of this method isn not ensured.
|
POS |
getPos() |
java.lang.String |
getRepresentativeLemma() |
int |
getSynsetNumber() |
java.lang.String |
getSynsetNumberStr() |
getNamespace, getSimilarFramesgetPerspectivizations, getSubframes, getSuperframesgetSubclasses, getSuperclassescustomIriDecode, customIriEncode, equals, getDefaultDescription, getDefaultLabel, getIri, hashCode, setDefaultDescription, setDefaultLabel, setIripublic SynsetMicroframe()
public SynsetMicroframe(java.lang.String id)
public static SynsetMicroframe create(int synsetOffset, java.lang.String representativeLemma, POS pos)
synsetOffset - representativeLemma - pos - public boolean extractComponents()
FramebaseResourceextractComponents in class Classpublic POS getPos()
public java.lang.String getRepresentativeLemma()
public int getSynsetNumber()
public java.lang.String getSynsetNumberStr()