Methods
Modifier and Type |
Method and Description |
protected Map<String,Object> |
buildCompoundPropositionContextMap(String naturalLanguageUsageId,
PropositionDefinition proposition,
String languageCode) |
protected Map<String,Object> |
buildSimplePropositionContextMap(PropositionDefinition proposition) |
protected String |
calcCompoundNaturalLanguageTypeId(String compoundOpCode) |
RuleManagementService |
getRuleManagementService() |
NaturalLanguageTemplaterContract |
getTemplater() |
void |
setRuleManagementService(RuleManagementService ruleManagementService) |
void |
setTemplater(NaturalLanguageTemplaterContract templater) |
protected String |
translateCompoundProposition(PropositionDefinition proposition,
String naturalLanguageUsageId,
String languageCode) |
String |
translateNaturalLanguageForObject(String naturalLanguageUsageId,
String typeId,
String krmsObjectId,
String languageCode) |
String |
translateNaturalLanguageForProposition(String naturalLanguageUsageId,
PropositionDefinition proposition,
String languageCode) |
NaturalLanguageTree |
translateNaturalLanguageTreeForProposition(String naturalLanguageUsageId,
PropositionDefinition proposition,
String languageCode) |
protected String |
translateSimpleProposition(NaturalLanguageTemplate naturalLanguageTemplate,
PropositionDefinition proposition) |