|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.lexinfo.LexInfo
public class LexInfo
Field Summary | |
---|---|
static String |
LEXINFO_URI
|
Constructor Summary | |
---|---|
LexInfo()
|
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... strings)
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 reference by its name |
Collection<SynArg> |
getSynArgs()
Get the set of properties listed in the linguistics ontology |
Collection<SynArg> |
getSynArgsForFrame(URI frameClass)
Get the set of URI values listed in the linguistic ontology for a given URI |
Collection<PropertyValue> |
getValues(Property property)
Get the set of property values listed in the linguistic ontology for a given property |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String LEXINFO_URI
Constructor Detail |
---|
public LexInfo()
Method Detail |
---|
public Property getProperty(String name)
getProperty
in interface LinguisticOntology
IllegalArgumentException
- If the name is not recognised by the ontologypublic Collection<Property> getProperties()
getProperties
in interface LinguisticOntology
public PropertyValue getPropertyValue(String name)
getPropertyValue
in interface LinguisticOntology
IllegalArgumentException
- If the name is not recognised by the ontologypublic Collection<PropertyValue> getValues(Property property)
getValues
in interface LinguisticOntology
public SynArg getSynArg(String name)
getSynArg
in interface LinguisticOntology
IllegalArgumentException
- If the name is not recognised by the ontologypublic Collection<SynArg> getSynArgs()
getSynArgs
in interface LinguisticOntology
public Collection<SynArg> getSynArgsForFrame(URI frameClass)
getSynArgsForFrame
in interface LinguisticOntology
public Condition getCondition(String name)
getCondition
in interface LinguisticOntology
IllegalArgumentException
- If the name is not recognised by the ontologypublic Collection<Condition> getConditions()
getConditions
in interface LinguisticOntology
public SenseContext getContext(String name)
getContext
in interface LinguisticOntology
IllegalArgumentException
- If the name is not recognised by the ontologypublic Collection<SenseContext> getContexts()
getContexts
in interface LinguisticOntology
public Definition getDefinition(String name)
getDefinition
in interface LinguisticOntology
IllegalArgumentException
- If the name is not recognised by the ontologypublic Collection<Definition> getDefinitions()
getDefinitions
in interface LinguisticOntology
public Edge getEdge(String name)
getEdge
in interface LinguisticOntology
IllegalArgumentException
- If the name is not recognised by the ontologypublic Collection<Edge> getEdge()
getEdge
in interface LinguisticOntology
public FormVariant getFormVariant(String name)
getFormVariant
in interface LinguisticOntology
IllegalArgumentException
- If the name is not recognised by the ontologypublic Collection<FormVariant> getFormVariant()
getFormVariant
in interface LinguisticOntology
public LexicalVariant getLexicalVariant(String name)
getLexicalVariant
in interface LinguisticOntology
IllegalArgumentException
- If the name is not recognised by the ontologypublic Collection<LexicalVariant> getLexicalVariant()
getLexicalVariant
in interface LinguisticOntology
public Representation getRepresentation(String name)
getRepresentation
in interface LinguisticOntology
IllegalArgumentException
- If the name is not recognised by the ontologypublic Collection<Representation> getRepresentation()
getRepresentation
in interface LinguisticOntology
public SenseRelation getSenseRelation(String name)
getSenseRelation
in interface LinguisticOntology
IllegalArgumentException
- If the name is not recognised by the ontologypublic Collection<SenseRelation> getSenseRelation()
getSenseRelation
in interface LinguisticOntology
public Collection<URI> getFrameClasses()
getFrameClasses
in interface LinguisticOntology
public URI getFrameClass(String name)
getFrameClass
in interface LinguisticOntology
IllegalArgumentException
- If the name is not recognised by the ontologypublic Map<Property,Collection<PropertyValue>> getPropertyMap(String... strings)
LinguisticOntology
getPropertyMap
in interface LinguisticOntology
public Collection<String> getDefinitions(LemonElementOrPredicate elem)
LinguisticOntology
getDefinitions
in interface LinguisticOntology
public Collection<Text> getExamples(URI frameClass)
LinguisticOntology
getExamples
in interface LinguisticOntology
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |