A long text analysis example

To test the procedure while analyzing significantly longer texts, we will use the ScoreDocument function that we've developed in Chapter 3, Setting Up the Development Environment. This will allow us to upload a text of any length to Blob Storage as a text file, and test how well our procedure works to estimate an overall score of a longer text.

As examples of positive and negative leaning texts, we will use a positive and negative review of a product.

Let's take a look at the following steps:

  1. For an example of a negative review, let's create a document named negativeReview.txt and paste the following text into it:
        The quality of the product was terrible, it was made of really      cheap materials. The delivery ...

Get Serverless computing in Azure with .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.