def where_task(self, token_id, presented_pronunciation, confusion_probability):
        """Provide the prediction of the where task.

        This function is used to predict the probability of a given pronunciation being reported for a given token.

        :param token_id: The token for which the prediction is being provided
        :param confusion_probability: The list or array of confusion probabilities at each index
        """
        self['tokens'].setdefault(token_id, {}) \
            .setdefault('where', self._where_default(presented_pronunciation))

        if confusion_probability is not None:
            self['tokens'][token_id]['where'] = list(confusion_probability)
Provide the prediction of the where task.

        This function is used to predict the probability of a given pronunciation being reported for a given token.

        :param token_id: The token for which the prediction is being provided
        :param confusion_probability: The list or array of confusion probabilities at each index