O'Reilly logo

Learning Microsoft Cognitive Services - Second Edition by Leif Larsen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Analyzing text from a linguistic viewpoint

Following that brief introduction, we can now add linguistic analysis to our application. Add a new View to the View folder, and call the file LinguisticView.xaml. We will need to add a ListBox element to contain the analyzers we want to select from. We should also add TextBox elements for our input query and result View. Finally, we will need a Button element to execute the analysis.

Next, we add the ViewModel. Create a new file, called LinguisticViewModel.cs, and add it to the ViewModel folder. This will need an ObservableCollection property of type Analyzer to hold our analyzers. The Analyzer type is a data contract, which will become apparent in a bit. It will also need a List property of type ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required