CoreNLPSentimentAnalyzer

class Object
trait Matchable
class Any

Value members

Concrete methods

def sentiment(doc: Document): Seq[Int]

Get a sentiment score from org.clulab.processors.Document

Get a sentiment score from org.clulab.processors.Document

def sentiment(s: Sentence): Int

Get a sentiment score for a org.clulab.processors.Sentence

Get a sentiment score for a org.clulab.processors.Sentence

def sentiment(text: String): Seq[Int]

Get a Sentiment score for each org.clulab.processors.Sentence in a span of text

Get a Sentiment score for each org.clulab.processors.Sentence in a span of text

Value parameters:
text

a String