That is, according to the occurrence probability of a sequence of intentions learned from a dialogue corpus with the intention tags, the degree of similarity with each utterance is weighted based on the intentions of the last utterances.
if the utterance whose degree of similarity with the input utterance is the maximum is "sono chikaku-ni chushajo arimasu-ka?