Python SDK for the TextRazor Text Analytics API
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE Initial commit Oct 15, 2013
README.md
README.rst Adding dictionary support, request compression, connection refactor. Aug 20, 2015
setup.py
textrazor.py Adding spelling, account stats. Jan 17, 2017

README.md

TextRazor Python SDK

Python SDK for the TextRazor Text Analytics API.

TextRazor offers state-of-the-art natural language processing tools through a simple API, allowing you to build semantic technology into your applications in minutes.

Hundreds of applications rely on TextRazor to understand unstructured text across a range of verticals, with use cases including social media monitoring, enterprise search, recommendation systems and ad targetting.

Getting Started

  • Get a free API key from https://www.textrazor.com.

  • Install the TextRazor Python SDK

    pip install textrazor
  • Create an instance of the TextRazor object and start analyzing your text.

    from textrazor import TextRazor
    
    client = TextRazor(YOUR_API_KEY_HERE, extractors=["entities"])
    response = client.analyze("Barclays misled shareholders and the public about one of the biggest investments in the bank's history, a BBC Panorama investigation has found.")
    
    for entity in response.entities():
        print entity

For full API documentation visit https://www.textrazor.com/docs/python.

If you have any questions please get in touch at support@textrazor.com