|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.uniroma2.info.ai_nlp.LinguisticWatermark.LinguisticInterface
public abstract class LinguisticInterface
this is the main class which must be implemented to create a wrapper for a given (category of) linguistic resource
| Field Summary | |
|---|---|
protected String[] |
ConceptualRelations
a set of Semantic Relations between word senses of the linguistic resources |
protected String |
language
the natural language in which the resource is expressed, if the resource is a bilingual dictionary it represents the target language of the translation |
protected String[] |
LexicalRelations
a set of Lexical Relations or search strategies for querying the linguistic resource |
protected boolean |
matchCaseSearchStatus
tells if searches on the linguistic resource will take into account the case of the word(s) given as input |
protected String |
shortID
a sort of very short ID used to identify the resource |
protected boolean |
wholeWordSearchStatus
tells if searches on the linguistic resource will return only exact matches of the word(s) given as input |
| Constructor Summary | |
|---|---|
LinguisticInterface()
|
|
| Method Summary | |
|---|---|
Collection |
exploreConceptualRelation(String Relation,
Concept c)
|
Collection |
exploreLexicalRelation(String Relation,
String words)
|
String[] |
getConceptualRelationsList()
|
String |
getLanguage()
|
String[] |
getLexicalRelationsList()
|
boolean |
getMatchCaseSearchStatus()
|
String |
getResourceShortId()
|
boolean |
getWholeWordSearchStatus()
|
boolean |
hasConceptPrefixSearch()
|
boolean |
hasGlosses()
|
abstract void |
initialize()
this method initializes the resource, loading its database and specifying some of its properties (language, shortID etc...) |
boolean |
isBilingual()
|
boolean |
isConceptualized()
|
boolean |
isFlat()
|
boolean |
isSelectableOperationMatchCaseToggling()
|
boolean |
isSelectableOperationWholeWordToggling()
|
boolean |
isTaxonomical()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String[] ConceptualRelations
protected String[] LexicalRelations
protected boolean wholeWordSearchStatus
protected boolean matchCaseSearchStatus
protected String language
protected String shortID
| Constructor Detail |
|---|
public LinguisticInterface()
| Method Detail |
|---|
public abstract void initialize()
public Collection exploreConceptualRelation(String Relation,
Concept c)
throws Exception
Relation - a semantic relation between senses of linguistic expressions inside the linguistic resourcec - a sense related to one or more linguistic expressions
Exception
public Collection exploreLexicalRelation(String Relation,
String words)
throws Exception
Relation - a lexical relation between words or words and their senses, this may include search strategies to be applied upon a given search keywords - a word or linguistic expression used as a key for searching the linguistic resource
Concepts for conceptualizedLR resources and
lemmas for flatLR ones).
Exceptionpublic String[] getConceptualRelationsList()
public String[] getLexicalRelationsList()
public String getLanguage()
language field of this interfacepublic String getResourceShortId()
shortID field of this interfacepublic boolean isConceptualized()
ConceptualizedLR interfacepublic boolean hasConceptPrefixSearch()
public boolean isTaxonomical()
TaxonomicalLR interfacepublic boolean hasGlosses()
LRWithGlosses interfacepublic boolean isFlat()
FlatLR interfacepublic boolean isBilingual()
BilingualLinguisticInterfacepublic boolean isSelectableOperationMatchCaseToggling()
MatchCaseToggling interfacepublic boolean isSelectableOperationWholeWordToggling()
WholeWordToggling interfacepublic boolean getWholeWordSearchStatus()
wholeWordSearchStatus field of this interfacepublic boolean getMatchCaseSearchStatus()
matchCaseSearchStatus field of this interface
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||