cognitive-services-csharp-call-center

所属分类:内容生成
开发工具:C#
文件大小:225KB
下载次数:0
上传日期:2021-03-02 02:23:53
上 传 者sh-1993
说明:  呼叫中心“首次接触”应用程序,演示语音到文本、语言检测、翻译、情感检测,...
(Call center "first contact" app that demonstrates speech-to-text, language detection, translation, emotion detection, and parsing for key phrases.)

文件列表:
CallCenterSample.sln (2214, 2019-09-25)
CallCenterSample (0, 2019-09-25)
CallCenterSample\App.xaml (238, 2019-09-25)
CallCenterSample\App.xaml.cs (4368, 2019-09-25)
CallCenterSample\Assets (0, 2019-09-25)
CallCenterSample\Assets\SplashScreen.scale-100.png (16422, 2019-09-25)
CallCenterSample\Assets\SplashScreen.scale-125.png (22580, 2019-09-25)
CallCenterSample\Assets\SplashScreen.scale-150.png (28946, 2019-09-25)
CallCenterSample\Assets\SplashScreen.scale-200.png (44093, 2019-09-25)
CallCenterSample\Assets\SplashScreen.scale-400.png (111063, 2019-09-25)
CallCenterSample\Assets\Square150x150Logo.scale-100.png (1054, 2019-09-25)
CallCenterSample\Assets\Square44x44Logo.scale-100.png (1054, 2019-09-25)
CallCenterSample\Assets\StoreLogo.png (1054, 2019-09-25)
CallCenterSample\Assets\StoreLogo.scale-10.png (429, 2019-09-25)
CallCenterSample\Assets\smalltile-sdk.png (363, 2019-09-25)
CallCenterSample\Assets\squaretile-sdk-44.png (1054, 2019-09-25)
CallCenterSample\Assets\squaretile-sdk.png (1054, 2019-09-25)
CallCenterSample\CallCenterSample.csproj (8350, 2019-09-25)
CallCenterSample\Controls (0, 2019-09-25)
CallCenterSample\Controls\SentimentControl.xaml (1589, 2019-09-25)
CallCenterSample\Controls\SentimentControl.xaml.cs (1612, 2019-09-25)
CallCenterSample\Controls\SpeechToTextControl.xaml (1418, 2019-09-25)
CallCenterSample\Controls\SpeechToTextControl.xaml.cs (13985, 2019-09-25)
CallCenterSample\Helpers (0, 2019-09-25)
CallCenterSample\Helpers\ErrorTrackingHelper.cs (1999, 2019-09-25)
CallCenterSample\Helpers\SettingsHelper.cs (6216, 2019-09-25)
CallCenterSample\Helpers\TextAnalyticsHelper.cs (7227, 2019-09-25)
CallCenterSample\Helpers\TranslatorTextHelper.cs (4817, 2019-09-25)
CallCenterSample\MainPage.xaml (2017, 2019-09-25)
CallCenterSample\MainPage.xaml.cs (2707, 2019-09-25)
CallCenterSample\Package.appxmanifest (1580, 2019-09-25)
CallCenterSample\Properties (0, 2019-09-25)
CallCenterSample\Properties\AssemblyInfo.cs (1052, 2019-09-25)
CallCenterSample\Properties\Default.rd.xml (1243, 2019-09-25)
CallCenterSample\SettingsPage.xaml (2091, 2019-09-25)
... ...

--- page_type: sample languages: - csharp products: - azure description: "Mock-up of a call center app. Take a customer's request, convert it to text, translate it, gauge the emotion behind the text, and parse key phrases." urlFragment: call-center-first-contact-sample --- # Call Center First Contact This sample is a basic mock-up for a call center app that takes a customer's spoken request, converts it to text, translates it to English (if necessary), gauges the emotion behind the text, and then parses it for key phrases. This data could be used to assist in routing the call to a: * Speaker of the customer's preferred language * Senior Customer Service Representative to work with an especially upset caller * Subject matter expert for the subject of the call ## Features This project framework provides the following features: * Text translation: Translation of text is provided by Translator Text via JSON returned from a request sent to the [Translate](https://docs.microsoft.com/azure/cognitive-services/translator/reference/v3-0-translate) method * Language detection: Language detection of text is provided by Text Analytics via the [Microsoft.Azure.CognitiveServices.Language.TextAnalytics](https://www.nuget.org/packages/Microsoft.Azure.CognitiveServices.Language.TextAnalytics/) NuGet package * Emotion detection: Emotion underlying text is provided by Text Analytics via the [Microsoft.Azure.CognitiveServices.Language.TextAnalytics](https://www.nuget.org/packages/Microsoft.Azure.CognitiveServices.Language.TextAnalytics/) NuGet package * Key phrases: Parsing text for key phrases is provided by Text Analytics via the [Microsoft.Azure.CognitiveServices.Language.TextAnalytics](https://www.nuget.org/packages/Microsoft.Azure.CognitiveServices.Language.TextAnalytics/) NuGet package * Speech-to-text: In the context of the scenario of this sample, where customers are telephoning a call center, the "speech to text" functionality could be handled via any number of methods. For the sake of convenience and simplicity, we are using the built-in voice input features of Windows 10 as a placeholder for those methods. ## Getting Started ### Prerequisites You'll need [Visual Studio](https://www.visualstudio.com/downloads/) to run the sample code and an [Azure account](https://azure.microsoft.com/free/) with subscriptions to both the Translator Text and Text Analytics services. Due to the use of Windows 10's voice input features, you'll also need to make a few changes to your Windows installation in order to test the sample: * To test the translation feature, you'll need to install one or more non-English language packs. You can do so by selecting **Settings** > **Time & Language** > **Region & language**, and then **Add a language**. * To select the language you'll use when speaking, select **Settings** > **Time & Language** > **Speech**, and then the desired language under the **Speech language** setting. * To allow voice input, select **Settings** > **Privacy** > **Speech, inking, & typing**, and then **Turn on speech services and typing suggestions**. Select **Turn on** in the confirmation dialog box. ### Quickstart 1. From a shell or command line: 1. `git clone https://github.com/Azure-Samples/cognitive-services-dotnet-call-center.git` 1. `cd cognitive-services-dotnet-call-center` 1. Double-click `CallCenterSample.sln` to open the solution in Visual Studio 1. Ensure that the platform the solution is building for is set to `x***` ## Demo To run the sample, follow these steps: 1. Run the project from Visual Studio 2. On the main page, click **Settings** so that you can enter your API keys and region info, and then click **Close** 3. On the main page, click the microphone button so that the app begins listening for speech; when you're done speaking, click the stop button so that the text representation of your speech can be tested for source language (and translated to English if necessary) and emotion, and parsed for key terms and phrases 4. Click the reset button to begin the process again ## Resources * [Translator Text API](https://docs.microsoft.com/azure/cognitive-services/translator/) * [Text Analytics API](https://docs.microsoft.com/azure/cognitive-services/text-analytics/)

近期下载者

相关文件


收藏者