Compute scores for how objective or subjective a piece of text is. The sign indicates which direction the text leans. For example, a positive score could mean the text is more likely to be verifiable fact than opinion. The magnitude just indicates the degree of being objective or subjective.
Objectives
Use a library with such functionality e.g. TextBlob. This feature is usually part of sentiment analysis libraries.
Write functions that allow objective-subjective scoring on the sentence, paragraph, and whole document level.
Description
Compute scores for how objective or subjective a piece of text is. The sign indicates which direction the text leans. For example, a positive score could mean the text is more likely to be verifiable fact than opinion. The magnitude just indicates the degree of being objective or subjective.
Objectives