|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ILinguisticOracle
Interface to Linguistic Oracles, such as WordNet.
| Method Summary | |
|---|---|
java.lang.String |
getBaseForm(java.lang.String derivation)
Returns base form (lemma) of a word. |
ISynset |
getISynset(ISense sense)
Returns a synset given its id. |
java.util.List<ISense> |
getSenses(java.lang.String word)
Returns all senses of a word. |
boolean |
isEqual(java.lang.String str1,
java.lang.String str2)
Checks if lemmas of two strings are equal (e. |
| Methods inherited from interface it.unitn.disi.smatch.components.IConfigurable |
|---|
getProperties, setProperties, setProperties |
| Method Detail |
|---|
ISynset getISynset(ISense sense)
throws LinguisticOracleException
sense - sense
LinguisticOracleException - LinguisticOracleException
boolean isEqual(java.lang.String str1,
java.lang.String str2)
throws LinguisticOracleException
str1 - source stringstr2 - target string
LinguisticOracleException - LinguisticOracleException
java.util.List<ISense> getSenses(java.lang.String word)
throws LinguisticOracleException
word - the word to which the sense will be retrieve
LinguisticOracleException - LinguisticOracleException
java.lang.String getBaseForm(java.lang.String derivation)
throws LinguisticOracleException
derivation - the word to get a base form for
LinguisticOracleException - LinguisticOracleException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||