Windows SDK for the Microsoft Linguistic Analysis API, part of Cognitive Services
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

Microsoft Linguistic Analysis API: Windows Client Library & Sample

This repo contains the Windows client library & sample for the Microsoft Linguistic Analysis API, an offering within Microsoft Cognitive Services, formerly known as Project Oxford.

Getting Started

To obtain a subscription key for Linguistic Analysis, visit our website and sign up for free using a Microsoft account. Then open, modify, build, and run the accompanying Visual Studio solution. This sample is a C# Windows console application demonstrating the use of the Microsoft Linguistic Analysis API.

Build the Sample

  1. Start Microsoft Visual Studio 2015 and select File > Open > Project/Solution.
  2. Starting in the folder where you clone the repository, go to the LinguisticAnalysis > Windows > Sample folder.
  3. Double-click the Visual Studio 2015 Solution file .sln.
  4. Paste your Microsoft Cognitive Services Linguistic Analysis subscription key into the LinguisticsClient constructor parameter value in Program.cs.
  5. Press Ctrl+Shift+B, or select Build > Build Solution.

Run the Sample

After the build is complete, press F5 to run the sample.

A number of lines will be printed on the console, showing the results received from the Linguistics service. These include: listing the set of available analyzers, and printing the results of those analyzers on some simple text.

Press any key to exit the app.


We welcome contributions. Feel free to file issues and pull requests on the repo and we'll address them as we can. Learn more about how you can help on our Contribution Rules & Guidelines.

You can reach out to us anytime with questions and suggestions using our communities below:

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact with any additional questions or comments.


All Microsoft Cognitive Services SDKs and samples are licensed with the MIT License. For more details, see LICENSE.

Sample images are licensed separately, please refer to LICENSE-IMAGE

Developer Code of Conduct

Developers using Cognitive Services, including this client library & sample, are expected to follow the “Developer Code of Conduct for Microsoft Cognitive Services”, found at