public static interface Synset.IWordBuilder
| Modifier and Type | Method and Description |
|---|---|
void |
addRelatedWord(IPointer type,
IWordID id)
Adds a pointer from this word to another word with the specified id.
|
void |
addVerbFrame(IVerbFrame frame)
Adds the specified verb frame to this word.
|
IWord |
toWord(ISynset synset)
Creates the word represented by this builder.
|
IWord toWord(ISynset synset)
synset - the synset to which this word should be attachedvoid addVerbFrame(IVerbFrame frame)
frame - the frame to be added, may not be nullNullPointerException - if the specified frame is nullvoid addRelatedWord(IPointer type, IWordID id)
type - the pointer type, may not be nullid - the word id, may not be nullNullPointerException - if either argument is nullCopyright © 2018. All rights reserved.