Learning symbol representations to classify biosequence data