Differences from MeCab
MeCab and Suzume can assign different word boundaries and POS labels to the same text. Choose a topic below to see concrete comparisons. For which tool fits which job, see When to Use Which.
The source of truth for intentional differences is the Python MeCab expectation pipeline used to generate test expectations.
Find a topic
| What you want to compare | Details |
|---|---|
| Compounds, numbers and units, place names, suffix boundaries | Compounds, Quantities, and Names |
| Compound verbs and auxiliaries, particles, negatives, classical endings | Verbs and Grammar |
| Colloquial spelling, prolonged sounds, identifiers, URLs, symbols | Text and Notation |
| POS labels, base forms, and extended POS on the same tokens | POS Classification |
Comparison Baseline
Every MeCab boundary and displayed feature in this comparison guide was recorded from MeCab 0.996 with mecab-ipadic 2.7.0-20070801 (the UTF-8 IPA dictionary). The labels abbreviate MeCab's comma-separated feature fields for readability; the comparison does not rewrite its token boundaries. It invokes mecab with the default configuration and no user dictionary. You can inspect the active setup with:
mecab --version
mecab -DThe Suzume rows use normal mode, default options and the bundled dictionaries.
MeCab's output depends on the selected dictionary, its costs, and user dictionaries. UniDic, NEologd, or a customized IPA dictionary can produce different boundaries and labels from these examples.
The MeCab expectation pipeline (the Python code linked above) starts from this IPA-dictionary output and applies Suzume's generalized comparison rules to generate test expectations. It is unrelated to character normalization.
Reading the comparisons
In each comparison the MeCab row uses MeCab's Japanese POS names, and the Suzume row uses the public API tags (NOUN, VERB, ADJ, …) with the Japanese POS name shown next to each code. A colored underline marks every token, so where the two tokenizers split or merge is visible at a glance.
Constraints
These are known limitations arising from Suzume's feature-based architecture.
Cannot Split Merged Compounds
Suzume cannot infer arbitrary lexical boundaries inside an otherwise unknown same-script compound. It can still split boundaries licensed by grammatical rules or compact-dictionary entries.
Suzume cannot determine the internal boundaries; MeCab splits them from its dictionary
Workaround: Register the boundaries your application needs with the worked example in the user-dictionary guide. The runtime-loading examples cover JavaScript, Python, Go, C++, C, and the native CLI.