Learning Boundaries From Examples

If people have already marked word boundaries in example text, we can use those labels to teach a model. The surrounding characters provide clues it can use when deciding where to split new text.

13 sections · 10 questions · 4 coding challenges

1 / 13

Could Labelled Sentences Teach Us Where to Split?

BOTIE

Writing enough rules to cover every boundary decision is difficult. But we may already have sentences divided by people according to an agreed convention. Those examples contain evidence about which neighbouring characters and patterns tend to accompany a word boundary.

Xue's 2003 work framed Chinese word segmentation as supervised character tagging, learning from manually annotated data. This shifted attention from choosing only among known whole words to predicting structural labels from the surrounding evidence.

The lesson's boundary classifier uses a simpler question at each gap: split here or continue? We extract local features, learn their relationship with labelled boundaries, and apply the same representation to new text. This makes individual decisions easy to inspect, but independent gap decisions do not enforce all the constraints of a whole-sequence tagger. The annotation convention also matters, because it defines the answers being learned.

Sources for this history