|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LinguisticOntology
Gives access to all values specified in a linguistic ontology
Method Summary | |
---|---|
Condition |
getCondition(String name)
Get a condition predicate by its name |
Collection<Condition> |
getConditions()
Get the set of condition predicates listed in the linguistic ontology |
SenseContext |
getContext(String name)
Get a context predicate by its name |
Collection<SenseContext> |
getContexts()
Get the set of context predicates listed in the linguistic ontology |
Definition |
getDefinition(String name)
Get a definition predicate by its name |
Collection<Definition> |
getDefinitions()
Get the set of definition predicates listed in the linguistic ontology |
Collection<String> |
getDefinitions(LemonElementOrPredicate elem)
Get any definitions of an element or predicate |
Collection<Edge> |
getEdge()
Get the set of edge relation types listed in the linguistic ontology |
Edge |
getEdge(String name)
Get a edge relation type by its name |
Collection<Text> |
getExamples(URI frameClass)
Get any examples of a frame |
Collection<FormVariant> |
getFormVariant()
Get the set of form variant relation types listed in the linguistic ontology |
FormVariant |
getFormVariant(String name)
Get a form variant relation type by its name |
URI |
getFrameClass(String name)
Get a frame class by name |
Collection<URI> |
getFrameClasses()
Get all possible frame classes |
Collection<LexicalVariant> |
getLexicalVariant()
Get the set of lexical variant relation types listed in the linguistic ontology |
LexicalVariant |
getLexicalVariant(String name)
Get a lexical variant relation type by its name |
Collection<Property> |
getProperties()
Get the set of properties listed in the linguistics ontology |
Property |
getProperty(String name)
Get a property reference by its name |
Map<Property,Collection<PropertyValue>> |
getPropertyMap(String... prop)
Convenience method to get a property map |
PropertyValue |
getPropertyValue(String name)
Get a property value by its name |
Collection<Representation> |
getRepresentation()
Get the set of representation relation types listed in the linguistic ontology |
Representation |
getRepresentation(String name)
Get a representation relation type by its name |
Collection<SenseRelation> |
getSenseRelation()
Get the set of sense relation types listed in the linguistic ontology |
SenseRelation |
getSenseRelation(String name)
Get a sense relation type by its name |
SynArg |
getSynArg(String name)
Get a synArg predicate by its name |
Collection<SynArg> |
getSynArgs()
Get the set of synArg predicates listed in the linguistic ontology |
Collection<SynArg> |
getSynArgsForFrame(URI frameClass)
Get the necessary synArgs for a given frame |
Collection<PropertyValue> |
getValues(Property property)
Get the set of property values listed in the linguistic ontology for a given property |
Method Detail |
---|
Property getProperty(String name)
IllegalArgumentException
- If the name is not recognised by the ontologyCollection<Property> getProperties()
PropertyValue getPropertyValue(String name)
IllegalArgumentException
- If the name is not recognised by the ontologyCollection<PropertyValue> getValues(Property property)
SynArg getSynArg(String name)
IllegalArgumentException
- If the name is not recognised by the ontologyCollection<SynArg> getSynArgs()
Collection<SynArg> getSynArgsForFrame(URI frameClass)
Condition getCondition(String name)
IllegalArgumentException
- If the name is not recognised by the ontologyCollection<Condition> getConditions()
SenseContext getContext(String name)
IllegalArgumentException
- If the name is not recognised by the ontologyCollection<SenseContext> getContexts()
Definition getDefinition(String name)
IllegalArgumentException
- If the name is not recognised by the ontologyCollection<Definition> getDefinitions()
Edge getEdge(String name)
IllegalArgumentException
- If the name is not recognised by the ontologyCollection<Edge> getEdge()
FormVariant getFormVariant(String name)
IllegalArgumentException
- If the name is not recognised by the ontologyCollection<FormVariant> getFormVariant()
LexicalVariant getLexicalVariant(String name)
IllegalArgumentException
- If the name is not recognised by the ontologyCollection<LexicalVariant> getLexicalVariant()
Representation getRepresentation(String name)
IllegalArgumentException
- If the name is not recognised by the ontologyCollection<Representation> getRepresentation()
SenseRelation getSenseRelation(String name)
IllegalArgumentException
- If the name is not recognised by the ontologyCollection<SenseRelation> getSenseRelation()
Collection<URI> getFrameClasses()
URI getFrameClass(String name)
IllegalArgumentException
- If the name is not recognised by the ontologyMap<Property,Collection<PropertyValue>> getPropertyMap(String... prop)
Collection<String> getDefinitions(LemonElementOrPredicate elem)
Collection<Text> getExamples(URI frameClass)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |