Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

MPSegment

Pure dictionary-based max-probability segmentation.

Strategy: Builds a DAG of all possible dictionary matches, then finds the maximum probability path using dynamic programming. Word probabilities are derived from dictionary frequencies.

Does not handle OOV words — characters not found in the dictionary are left unsegmented.