Commit b23b08f
docs: explain which words attach to their neighbors
"Input shapes" says where the fields sit; nothing said which words
merge into one field rather than standing alone. Between them those are
most of what decides a parse, so the new section sits next to it.
Organized by which field the word pulls into rather than by what kind
of word it is. The fields are a closed list the reader has just learned
— seven of them — whereas the word kinds (particles, bound given names,
conjunctions, maiden markers, title chains, suffix runs) are an
open-ended taxonomy with no natural stopping point, which is what makes
the set feel incomprehensible when listed that way.
The one genuinely position-sensitive behavior gets its own paragraph
instead of a mostly-empty column: a particle at the start of a name has
no surname to attach to yet, so it either becomes the given name or
turns the whole name into a surname, depending on whether it can double
as a given name. Explaining that by cause turns two arbitrary-looking
outcomes into one rule with two branches.
Table examples are prose, not doctests, so CI cannot catch a wrong one
— each was verified by hand against the parser. The conjunction and
leading-particle claims are pinned as doctests.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent a6bd04c commit b23b08f
1 file changed
Lines changed: 61 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
57 | 118 | | |
58 | 119 | | |
59 | 120 | | |
| |||
0 commit comments