Commit 8815951
fix: use right_id for prefix check in structure_cost computation
The transition cost is conn_cost(prev.right_id, next.left_id), so
the prefix check should use right_id (the outgoing POS) rather than
left_id (the incoming POS) of the previous segment.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 7590014 commit 8815951
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| |||
0 commit comments