|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AceWikiEngine
This is the main interface for the AceWiki behavior.
Method Summary | |
---|---|
Sentence |
createAssignmentSentence(Individual ind,
Concept concept)
Creates a new assignement sentence that assigns a given individual to a given concept. |
Sentence |
createHierarchySentence(Concept subConcept,
Concept superConcept)
Creates a new hierarchy sentence that states that a certain concept is a sub-concept of another concept. |
OntologyElement |
createOntologyElement(java.lang.String type)
Creates a new ontology element for the given lexical type. |
Sentence |
createSentence(java.lang.String serialized)
Creates a new sentence object based on the given serialization. |
java.util.List<OntologyExporter> |
getExporters()
Returns a list of exporters to export the wiki content in different formats. |
LanguageHandler |
getLanguageHandler(java.lang.String language)
Returns the language handler for the given language. |
java.lang.String[] |
getLanguages()
Returns the available languages. |
java.lang.String[] |
getLexicalTypes()
Returns the lexical types, as defined by the respective ontology element types. |
AceWikiReasoner |
getReasoner()
Returns the reasoner. |
WordIndex |
getWordIndex()
Returns the word index. |
void |
init(Ontology ontology)
This is the first method to be called and provides the ontology object. |
Method Detail |
---|
void init(Ontology ontology)
ontology
- The ontology object.LanguageHandler getLanguageHandler(java.lang.String language)
language
- The name of the language.
java.lang.String[] getLanguages()
java.lang.String[] getLexicalTypes()
AceWikiReasoner getReasoner()
WordIndex getWordIndex()
java.util.List<OntologyExporter> getExporters()
OntologyElement createOntologyElement(java.lang.String type)
type
- The lexical type.
Sentence createSentence(java.lang.String serialized)
serialized
- The serialized representation of the sentence.
Sentence createAssignmentSentence(Individual ind, Concept concept)
ind
- The individual.concept
- The concept.
Sentence createHierarchySentence(Concept subConcept, Concept superConcept)
subConcept
- The sub-concept.superConcept
- The super-concept.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |