|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.olat.core.commons.modules.glossary.morphService.MorphologicalServiceDEImpl
public class MorphologicalServiceDEImpl
Description:
Connects to a morphological service and lets retrieve flexions for a word.
This is a variant to be used with german glossaries and is only compatible
with the defined service.
Initial Date: 09.12.2008
| Field Summary |
|---|
| Fields inherited from interface org.olat.core.commons.modules.glossary.morphService.MorphologicalService |
|---|
STATUS_ERROR, STATUS_GUESSED, STATUS_KNOWN |
| Constructor Summary | |
|---|---|
MorphologicalServiceDEImpl()
|
|
| Method Summary | |
|---|---|
java.lang.String |
assumePartOfSpeech(java.lang.String glossTerm)
Remind: this assumptions are only valuable for german language! |
java.util.ArrayList<java.lang.String> |
getFlexions(java.lang.String word)
same as getFlexions(String partOfSpeech, String word) but with automatic assumption of partofspeech |
java.util.ArrayList<java.lang.String> |
getFlexions(java.lang.String partOfSpeech,
java.lang.String word)
returns a list of Flexions found for a given word. |
java.lang.String |
getMorphServiceDescriptor()
get service name as description in guis |
java.lang.String |
getMorphServiceIdentifier()
get unique identifier to store with glossary-config |
java.lang.String |
getReplyStatus()
Get the Status from the reply arrived from the morphological service status can either be: - known Flexions were found in Lexicon - guessed Flexions were generated with heuristics - error Couldn't find anything or service error / unavailable |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MorphologicalServiceDEImpl()
| Method Detail |
|---|
public java.util.ArrayList<java.lang.String> getFlexions(java.lang.String word)
MorphologicalService
getFlexions in interface MorphologicalServiceorg.olat.core.commons.modules.glossary.morphService.FlexionServiceClient#getFlexions(java.lang.String)
public java.util.ArrayList<java.lang.String> getFlexions(java.lang.String partOfSpeech,
java.lang.String word)
MorphologicalService
getFlexions in interface MorphologicalServicepartOfSpeech - possible values, see: assumePartOfSpeech()word - a single word or a wordgroup
org.olat.core.commons.modules.glossary.morphService.FlexionServiceClient#getFlexions(java.lang.String,
java.lang.String)public java.lang.String assumePartOfSpeech(java.lang.String glossTerm)
assumePartOfSpeech in interface MorphologicalServiceorg.olat.core.commons.modules.glossary.morphService.FlexionServiceClient#assumePartOfSpeech(java.lang.String)public java.lang.String getReplyStatus()
MorphologicalService
getReplyStatus in interface MorphologicalServiceorg.olat.core.commons.modules.glossary.morphService.FlexionServiceClient#getReplyStatus()public java.lang.String getMorphServiceDescriptor()
MorphologicalService
getMorphServiceDescriptor in interface MorphologicalServiceorg.olat.core.commons.modules.glossary.morphService.FlexionServiceManager#getFlexionServiceDescriptor()public java.lang.String getMorphServiceIdentifier()
MorphologicalService
getMorphServiceIdentifier in interface MorphologicalServiceorg.olat.core.commons.modules.glossary.morphService.FlexionServiceManager#getFlexionServiceIdentifier()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||