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