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:, bn:, wa:, wn2020:, oewn:)
|
protected abstract boolean |
isValid()
Returns true if the synset ID is valid
|
equals, getID, getLanguage, getPOS, getSource, hashCode, toString, toSynsets, toSynsetsprotected SynsetID(String id, SenseSource source) throws InvalidSynsetIDException
InvalidSynsetIDExceptionprotected abstract boolean isValid()
public String getSimpleOffset()
Copyright © 2016–2022. All rights reserved.