Lower perplexity means higher probability of generating the sentence from the dialect model.
sentence S is assigned with label l and used in model re-training if and only if perp l (S) < perp k (S) × threshold, for k = l. The threshold is selected to optimize the classification accuracy on a tuning set.