Skip to content
Permalink
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 https://azure.microsoft.com/free/. Once set up visit https://ms.portal.azure.com 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: https://github.com/gjwgit/aztext

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

Usage

  • 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.