getSpeakerUtteranceUniformPrior: Speaker's uniform priors for utterances

Description Usage Arguments Value Examples

View source: R/SRSA_StratUtt.R

Description

Simple RSA

Determines the prior utterance preferences of the speaker.

Usage

1

Arguments

validUtterances

A vector of utterances that correspond to all feature values present in the current objects in the scene.

For example, it only makes sense to utter "red" in a scene if there are red objects present.

Value

A vector of the same length as the validUtterances vector.

It contains numeric values of the prior utterance preferences of the speaker.

Examples

1
2
3
4
5
6
7
getSpeakerUtteranceUniformPrior(validUtterances)

output:
 [1] 0.17 0.17 0.17 0.17 0.17 0.17
 
 @details
 This function is used in X9.

haniaelkersh/rsa-publish-test documentation built on Jan. 31, 2021, 2:02 a.m.