Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. In machine
learning, sequence labeling is a type of pattern recognition task that
involves the algorithmic assignment of a categorical label to each
member of a sequence of observed values. A common example of a sequence
labeling task is part of speech tagging, which seeks to assign a part of
speech to each word in an input sentence or document. Sequence labeling
can be treated as a set of independent classification tasks, one per
member of the sequence. However, accuracy is generally improved by
making the optimal label for a given element dependent on the choices of
nearby elements, using special algorithms to choose the globally best
set of labels for the entire sequence at once.