The where w t,i and |D i | denote the tth token in D i and the number of tokens in D i , respectively, since we use the trigram language model.
then, the distance from the distance is determined based on the ratio of the probabilities that each language model generates the language data.