public abstract class SynsetID extends ResourceID
Synset
.id, language, pos, source
Modifier | Constructor and Description |
---|---|
protected |
SynsetID(String id,
SenseSource source) |
Modifier and Type | Method and Description |
---|---|
String |
getSimpleOffset()
The offset without prefix (e.g., wn: or bn:)
|
protected abstract boolean |
isValid()
Returns true if the synset ID is valid
|
equals, getID, getLanguage, getPOS, getSource, hashCode, toString, toSynsets, toSynsets
protected SynsetID(String id, SenseSource source) throws InvalidSynsetIDException
InvalidSynsetIDException
protected abstract boolean isValid()
public String getSimpleOffset()
Copyright © 2016–2018. All rights reserved.