Demo Application of NLP API
Let's explore the usage of the NLP API with the help of a Django application.
We'll cover the following
Introduction
We’ll use a sample Django application to test the Cloudmersive NLP API in this lesson. The name of our project in the code below is cloudmersive
, and the application name is nlp
.
Workflow
We have our demo app in the widget below. It demonstrates the workflow of performing any operation of NLP API. The app works as follows:
- Run the application. You’ll see a page to perform operations of NLP API.
- Enter the text on which we need to perform the operation.
- Select the operation and click the “Perform Operation” button to see the desired output.
Note: All the API integrations are available in the
views.py
file of thenlp
folder.
Running the application
Before running the app, ensure that the API key is set up correctly in the widget below. If not done already, add the API key we generated for the project.
Press the “Run” button below to see how it works.
Get hands-on with 1200+ tech skills courses.