Skip to main content

A wrapper for nlpcloud free-tier services with no requests per minute limits.

Project description

freenlpc

a wrapper for nlpcloud free-tier.

FEATURES

  • wrappes all the important nlpcloud free-tier models in one object.
  • no rate limit per minute error, it will just keep on trying until it gets the response.
  • you can initialize it with more than one API token, if one reached the rate limit it will automatically switch to the other API token.

AVAILABLE TASKS

  • classification
  • dialog summary
  • entity extraction
  • question answering
  • semantic similarity
  • sentiment/emotions analysis
  • summarization
  • embeddings
  • translation
  • language detection

INSTALLATION

pip install freenlpc

USAGE

from freenlpc import FreeNlpc

tokens = ["token1", "token2"] # your nlpcloud api token/s
nlpc = FreeNlpc(tokens)

# then use whatever task you want
result = nlpc.sentiment_emotions("i am feelin happy")

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

freenlpc-0.1.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

freenlpc-0.1.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file freenlpc-0.1.0.tar.gz.

File metadata

  • Download URL: freenlpc-0.1.0.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for freenlpc-0.1.0.tar.gz
Algorithm Hash digest
SHA256 56a7e8eafc1d890270dfe354f3248cad0b832251d58562f23750da126855b489
MD5 00369848e4f33ae22c1d4a47fe100c78
BLAKE2b-256 9a4657b8e99e1daf7ffcbe03def4ceed74440d742d8e33980e49ce08e28e1a69

See more details on using hashes here.

File details

Details for the file freenlpc-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: freenlpc-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for freenlpc-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 39d9542e53c74644ba4baf6d75a8a268d88e45edabb40b285377af89c809caa3
MD5 fac2ba6b0ae8de907a065c96ce6fc1b3
BLAKE2b-256 61e2fe1c0ee1caeba6e67908ad3138c712c118c583aa1ebe213dee1d550502bd

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