Text Analysis using Natural Language Processing (NLP)

Sentiment

This tool detects the sentiment of a piece of text, for example a movie review. Click Analyse to detect sentiment, or type your own text.


Summarise Text

Purpose: This tool summarises large blocks of text, for example a news article.

How it works: It uses TfidfVectorizer() to convert all sentences into numerical vectors based on word importance. It calculates the cosine similarity between every pair of sentence vectors, resulting in a matrix where each value shows how similar two sentences are.

How to use: Paste a large block of text into the area, then use the slider to generate an output that is shorter or longer.