Exemple #1
0
        private static async void VietnameseIntent(string text)
        {
            string EnConverted = await GoogleTranslator.Translator.Vi2En(text);

            RasaModel NLUResult = await GetResult.Vietnamese(EnConverted);

            FinishNLU?.Invoke(NLUResult, EventArgs.Empty);
        }
Exemple #2
0
        private static async void EnglishIntent(string text)
        {
            RasaModel NLUResult = await GetResult.English(text);

            FinishNLU?.Invoke(NLUResult, EventArgs.Empty);
        }