diff --git a/dist/modules/nlp/NLPBasedSentenceRecognizer.js b/dist/modules/nlp/NLPBasedSentenceRecognizer.js index 48431799..831db89e 100644 --- a/dist/modules/nlp/NLPBasedSentenceRecognizer.js +++ b/dist/modules/nlp/NLPBasedSentenceRecognizer.js @@ -51,7 +51,7 @@ class NLPBasedSentenceRecognizer { this._uiPropertyRec.recognizeSentences(language, uiElement.items, errors, warnings); for (let item of uiElement.items || []) { // Otherwise sentences of items - this._variantSentenceRec.recognizeSentences(language, item.otherwiseSentences, errors, warnings); + this._variantSentenceRec.recognizeSentences(language, item.otherwiseSentences, errors, warnings, 'Otherwise sentences'); } } // Databases diff --git a/modules/nlp/NLPBasedSentenceRecognizer.ts b/modules/nlp/NLPBasedSentenceRecognizer.ts index a45aa3be..32bd8a64 100644 --- a/modules/nlp/NLPBasedSentenceRecognizer.ts +++ b/modules/nlp/NLPBasedSentenceRecognizer.ts @@ -79,7 +79,7 @@ export class NLPBasedSentenceRecognizer { for ( let item of uiElement.items || [] ) { // Otherwise sentences of items this._variantSentenceRec.recognizeSentences( - language, item.otherwiseSentences, errors, warnings ); + language, item.otherwiseSentences, errors, warnings, 'Otherwise sentences' ); } }