Repository navigation
Commit 5bd395a
subtitle: don't split a sentence at a token-internal period (np.where, file.txt)
The sentence splitter treated the "." in np.where / file.txt / self.x as a
sentence end, so the crawl broke those tokens across lines. Generalize the
decimal exception: a "." immediately followed by a letter or digit is inside a
token, not a sentence boundary (real Korean periods are followed by space/
newline/end).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent a97816f commit 5bd395a
1 file changed
Lines changed: 10 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
26 | 30 | | |
27 | 31 | | |
28 | 32 | | |
| |||
0 commit comments