class EntityMention extends Model (View source)

Properties

float $probability
protected $sentimentType
protected $sentimentDataType
protected $textType
protected $textDataType
string $type

Methods

setProbability($probability)

No description

float
getProbability()

No description

setSentiment(Sentiment $sentiment)

No description

getSentiment()

No description

setText(TextSpan $text)

No description

getText()

No description

setType($type)

No description

string
getType()

No description

Details

setProbability($probability)

No description

Parameters

$probability

float getProbability()

No description

Return Value

float

setSentiment(Sentiment $sentiment)

No description

Parameters

Sentiment $sentiment

Sentiment getSentiment()

No description

Return Value

Sentiment

setText(TextSpan $text)

No description

Parameters

TextSpan $text

TextSpan getText()

No description

Return Value

TextSpan

setType($type)

No description

Parameters

$type

string getType()

No description

Return Value

string