Skip to main content

Official Python SDK for TextRazor (https://textrazor.com).

Project description

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

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

textrazor-1.4.1.tar.gz (17.0 kB view details)

Uploaded Source

Built Distribution

textrazor-1.4.1-py3-none-any.whl (17.8 kB view details)

Uploaded Python 3

File details

Details for the file textrazor-1.4.1.tar.gz.

File metadata

  • Download URL: textrazor-1.4.1.tar.gz
  • Upload date:
  • Size: 17.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for textrazor-1.4.1.tar.gz
Algorithm Hash digest
SHA256 5a80c7640b8abf69e3eb01b26da92352a2ceef3e08dbdbe29fb6005dbb036725
MD5 c62c55df332a911ba309debbc120cf4d
BLAKE2b-256 15ce82d35ca9500489c662b4f6047f25bf2b4aba3ae5180934037889cb0360a7

See more details on using hashes here.

File details

Details for the file textrazor-1.4.1-py3-none-any.whl.

File metadata

  • Download URL: textrazor-1.4.1-py3-none-any.whl
  • Upload date:
  • Size: 17.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for textrazor-1.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 34e55da2b606277f7c3c62db045c3ebeed93540c4cb30e8b4b2f1c4f317085a3
MD5 1e95fc458e22ce4c5b61d293ff3d04b1
BLAKE2b-256 15033e609b98f34bc491a720187664533570fa206947e85a05afd148ea8a530e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page