sentence1: conditional random fields are undirected graphical models trained to maximize a conditional probability .
sentence2: conditional random fields are discriminative structured classification models for sequential tagging and segmentation .