Description Usage Arguments Value Examples
View source: R/SRSA_StratUtt.R
Simple RSA
Determines the prior utterance preferences of the speaker.
1 | getSpeakerUtteranceUniformPrior(validUtterances)
|
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. |
A vector of the same length as the validUtterances vector.
It contains numeric values of the prior utterance preferences of the speaker.
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.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.