ufosc / DocuMiner

A production-ready pipeline for text mining and subject indexing
MIT License
8 stars 5 forks source link

Objectivity-Subjectivity Scale #13

Open Fennec2000GH opened 2 years ago

Fennec2000GH commented 2 years ago

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

  1. Use a library with such functionality e.g. TextBlob. This feature is usually part of sentiment analysis libraries.
  2. Write functions that allow objective-subjective scoring on the sentence, paragraph, and whole document level.