|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NaturalLanguageTranslator
This class translates requirement components and statements into natural language.
Method Summary | |
---|---|
String |
translateProposition(PropositionDefinitionContract proposition,
String nlUsageTypeKey)
Translates a requirement component for a specific natural language usuage type (context) into natural language. |
String |
translateProposition(PropositionDefinitionContract proposition,
String nlUsageTypeKey,
String language)
Translates a requirement component for a specific natural language usuage type (context) and language locale (e.g. |
Method Detail |
---|
String translateProposition(PropositionDefinitionContract proposition, String nlUsageTypeKey) throws RiceIllegalStateException
proposition
- Proposition to be translatednlUsageTypeKey
- Natural language usage type key (context)
org.kuali.student.r2.common.exceptions.DoesNotExistException
- Requirement component id does not exists
org.kuali.student.r2.common.exceptions.OperationFailedException
RiceIllegalStateException
String translateProposition(PropositionDefinitionContract proposition, String nlUsageTypeKey, String language) throws RiceIllegalStateException
proposition
- Proposition to be translatednlUsageTypeKey
- Natural language usage type key (context)language
- Translation language
org.kuali.student.r2.common.exceptions.DoesNotExistException
org.kuali.student.r2.common.exceptions.OperationFailedException
RiceIllegalStateException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |