Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
46 lines (32 sloc) 1.49 KB

Azure Text Analytics

This MLHub package provides a quick introduction to the pre-built Text Analytics models provided through Azure's Cognitive Services. This service extracts information from text that we supply to it. Such information includes the language, key phrases, sentiment (0-1 as negative to positive sentiment), and entities.

Language identification supports many languages whilst key-phrases, sentiment, and entities are limited to a few languages.

A free Azure subscription allowing up to 5,000 transactions per month is available from Once set up visit and Create a resource under AI and Machine Learning called Text Analytics. Once created you can access the web API subscription key from the portal. This will be prompted for in the demo.

Please note that this is closed source software which limits your freedoms and has no guarantee of ongoing availability.

Visit the github repository for more details:

The Python code is based on the Azure Text Analytics Quick Start


  • To install mlhub

      $ pip3 install mlhub
  • To install and run the pre-built model:

      $ ml install   aztext
      $ ml configure aztext
      $ ml demo      aztext
      $ ml analyse   aztext

Do note that sentiments, key phrases, and entities are not available for all languages.

You can’t perform that action at this time.