Cloud AutoML V1beta1 API - Class Google::Cloud::AutoML::V1beta1::StringStats::UnigramStats (v0.11.1)

Reference documentation and code samples for the Cloud AutoML V1beta1 API class Google::Cloud::AutoML::V1beta1::StringStats::UnigramStats.

The statistics of a unigram.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#count

def count() -> ::Integer
Returns
  • (::Integer) — The number of occurrences of this unigram in the series.

#count=

def count=(value) -> ::Integer
Parameter
  • value (::Integer) — The number of occurrences of this unigram in the series.
Returns
  • (::Integer) — The number of occurrences of this unigram in the series.

#value

def value() -> ::String
Returns
  • (::String) — The unigram.

#value=

def value=(value) -> ::String
Parameter
  • value (::String) — The unigram.
Returns
  • (::String) — The unigram.