Hidden alignment conditional random field for classifying string pairs.