Consistency of sequence classification with entropic priors