|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.uzh.ifi.attempto.acewiki.core.ontology.OntologyElement
ch.uzh.ifi.attempto.acewiki.core.ontology.Concept
ch.uzh.ifi.attempto.acewiki.core.ontology.NounConcept
public class NounConcept
This class stands for concepts that are represented by nouns. This is the only way how concepts can be represented at the moment, but it is planned to support also adjectives. Noun concepts have two word forms.
0: singular form. 1: plural form.
Examples: ["country", "countries"]; ["woman", "women"].
Constructor Summary | |
---|---|
NounConcept()
Creates a new noun concept. |
Method Summary | |
---|---|
protected void |
changeWords(java.lang.String... words)
Changes the word forms without updating the ontology indexes. |
java.lang.String |
getInternalType()
Returns the word type as it is used internally. |
java.lang.String |
getType()
Returns the word type as it is shown to the user. |
java.lang.String[] |
getWords()
Returns the word forms. |
Methods inherited from class ch.uzh.ifi.attempto.acewiki.core.ontology.Concept |
---|
areIndividualsCached, areSubConceptsCached, areSuperConceptsCached, getCachedIndividuals, getCachedSubConcepts, getCachedSuperConcepts, getIndividuals, getSubConcepts, getSuperConcepts |
Methods inherited from class ch.uzh.ifi.attempto.acewiki.core.ontology.OntologyElement |
---|
add, add, compareTo, edit, edit, getHeadword, getIndexEntries, getOntology, getPrettyWord, getSentences, getStatements, getURI, getURISuffix, getWord, getWord, log, registerAt, remove, setWords, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NounConcept()
Method Detail |
---|
public java.lang.String[] getWords()
OntologyElement
getWords
in class OntologyElement
protected void changeWords(java.lang.String... words)
OntologyElement
changeWords
in class OntologyElement
words
- The word forms.public java.lang.String getType()
OntologyElement
getType
in class OntologyElement
public java.lang.String getInternalType()
OntologyElement
getInternalType
in class OntologyElement
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |