Description Usage Arguments Value
View source: R/SRSA_StratUttOptimization.R
Simple RSA
This function calculates the speaker's posterior guess of the feature value preferences of the listener. That means how the speaker infers the preferences of the listener based on the object choice.
1 2 3 4 5 6 | determineSpeakerPostListPrefsSimpleRSA(
currentObjects,
featureUtt,
softPrefValue,
notObeyInst
)
|
currentObjects |
A vector of three values in The target is the first object in the vector |
featureUtt |
One of the values |
softPrefValue |
A parameter value between Value reflects how categorical the listener's preferences are: 0: The listener always picks her preferred object. If the listener prefers red objects, she will always pick the red object in the scene. infinity: It is as likely for the listener to pick green, blue or red objects. |
notObeyInst |
Determines the extent to which the instruction of the speaker is obeyed by the listener. (0 = full obedience, infinity = full instruction ignorance). Example: 0: Listener always picks red objects following the utterance "red". infinity: Listener as likely to pick green, blue or red objects even if the utterance is "red". |
A vector of length 9. It contains the speaker's inference of the feature value preferences of the listener.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.