Contents

wordCount(for:)

Provides the number of typed words for the specified sentiment in the report.

Declaration

func wordCount(for category: SRKeyboardMetrics.SentimentCategory) -> Int

Parameters

  • category:

    An estimation of the user’s demeanor.

Return Value

The total number of typed words for a sentiment.

See Also

Inferring Sentiment