| Package | Description |
|---|---|
| edu.nyu.jet.concepts |
The Concepts package provides the classes for organizing and
editing a hierarchy of concepts, and associating the concepts with individual
words..
|
| Modifier and Type | Method and Description |
|---|---|
Word |
Concept.getWordAt(int index)
Returns the
Word at the specified index in this
Concept's Word array. |
Word |
ConceptHierarchy.getWordByName(String wordName)
Returns the
Word named wordName or
null if no Word has wordName. |
Word |
ConceptHierarchy.getWordByNameIgnoreCase(String wordName)
Returns the
Word named wordName (ignoring case)
or null if no Word has wordName. |
| Modifier and Type | Method and Description |
|---|---|
void |
Concept.addWord(Word newWord)
Adds a new
Word to this Concept. |
boolean |
ConceptHierarchy.addWord(Word newWord,
Concept parent)
Adds a new
Word to this ConceptHierarchy as a
child of the node parent.All the Words of Concept parent are listed before
all the Concepts that isa parent. |
boolean |
ConceptHierarchy.isDuplicateWord(Word word)
Checks if
word is already in the hierarchy, if so,
pop up an error message. |
void |
ConceptHierarchy.removeWord(Word oldWord)
Removes a
Word from the hierarchy. |
void |
Concept.removeWord(Word oldWord)
Removes a word from this
Concept. |
Copyright © 2016 New York University. All rights reserved.