Cloud AutoML V1beta1 Client - Class UnigramStats (1.6.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
Name Description
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
Type Description
string

setValue

The unigram.

Parameter
Name Description
var string
Returns
Type Description
$this

getCount

The number of occurrences of this unigram in the series.

Returns
Type Description
int|string

setCount

The number of occurrences of this unigram in the series.

Parameter
Name Description
var int|string
Returns
Type Description
$this