determineUttToObjectProbs.Rd
This function determines maps the valid utterances to the corresponding objects in the scene.
It then determines the probability of choosing an object based on the valid utterances in the scene.
determineUttToObjectProbs( validUtterances, currentObjects, mapObjToUtt, notObeyInst )
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. |
---|---|
currentObjects | A vector of three values in range The target is the first object in the vector |
mapObjToUtt | A 3x3 matrix. Values in the matrix are in range rows: The current objects in the scene columns: Features of the 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 matrix. The rows map each possible utterance that corresponds to each present feature value of the current objects. The columns represent the three objects in the scene.
This reflects the obedience-parameter and which objects match the respective utterance. The matrix shows the probability that a certain object is chosen following a certain utterance, that is valid in the scene. The number of rows of the matrix match the length of the validUtterances vector.
This function is only used in X9