Cloud AutoML V1beta1 Client - Class UnigramStats (1.5.4)

Reference documentation and code samples for the Cloud AutoML V1beta1 Client class UnigramStats.

The statistics of a unigram.

Generated from protobuf message google.cloud.automl.v1beta1.StringStats.UnigramStats

Namespace

Google \ Cloud \ AutoMl \ V1beta1 \ StringStats

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ value string

The unigram.

↳ count int|string

The number of occurrences of this unigram in the series.

getValue

The unigram.

Returns
TypeDescription
string

setValue

The unigram.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCount

The number of occurrences of this unigram in the series.

Returns
TypeDescription
int|string

setCount

The number of occurrences of this unigram in the series.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this