Segmenting With a Hidden Model

We can see the characters in a sentence without knowing which ones begin or end a word. A hidden-state model uses learned probabilities to infer a sequence of labels for those positions.

14 sections · 15 questions · 4 coding challenges

1 / 14

Could Hidden Labels Explain the Boundaries We Cannot See?

BOTIE

A dictionary cannot directly list every new name or unfamiliar word. We could instead ask what role each visible character plays: does it begin a word, continue one, end one, or stand alone? Those roles are not written in the input, so they must be inferred.

Hidden Markov models developed in probabilistic sequence modelling and became important in speech recognition. Rabiner's 1989 tutorial described the problem of inferring hidden state sequences from observations. Character-role segmentation uses the same distinction between what we observe and the state sequence that could have produced it.

The model assigns probabilities to state transitions and to observations in each state. We compare complete state paths, so a character's proposed role is judged alongside neighbouring roles. This can identify boundaries without requiring every whole word in a dictionary. It still makes restrictive assumptions about memory and observation dependence, which limit how much context the model can use.

Sources for this history