//문장 수정 public async void RunSentenceModify(string keyWords) { string changeWords = await SentenceModify(keyWords); changeSentence = changeSentence.Replace(changeWords.ToString().Split(' ')[0], changeWords.ToString().Split(' ')[1].Replace("\r\n", "")); testBox.Text = changeSentence; //this.textClassify.IsEnabled = true; loadingAnimation.Visibility = Visibility.Hidden; //분류된 카테고리에 대한 매뉴얼 출력후 Toast알림 띄우기, 현재 EventVO에 분류 결과 저장 ShowClassifiedManuals(classifiedResult); toastViewModel.ShowWarning("Text Classification : " + classifiedResult); }
private async void Run(string keyWords) { this.codeText.Text = await TextClassificationAsync(keyWords); //this.textClassify.IsEnabled = true; loadingAnimation.Visibility = Visibility.Hidden; //분류된 카테고리에 대한 매뉴얼 출력후 Toast알림 띄우기, 현재 EventVO에 분류 결과 저장 additionalQuestion.ShowClassifiedManuals(classifiedResult); toastViewModel.ShowWarning("Event Classification : " + classifiedResult); //코드 분석 완료 텍스트 박스 배경색 변경 codeText.Background = pointColorSolidColorBrush; currentEvent.EventCODE = classifiedResult; }