Commit 63c8426
minor refinement to similarity logic
When an origin entity contains a single-character word, require it to be at the start of a word in the destination entity, rather than anywhere. i.e. "hepatitis b vaccine" previously would be a child to "hepatitis c" because of the c in vaccine, but now no longer is.
Note that there's many other refinements that may work well for some environments but cause collateral damage elsewhere. This this felt generic enough to be useful in weeding out some false positives, but not too blunt in causing false negatives.1 parent 401659d commit 63c8426
1 file changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
395 | 395 | | |
396 | 396 | | |
397 | 397 | | |
398 | | - | |
| 398 | + | |
399 | 399 | | |
400 | | - | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
401 | 408 | | |
402 | 409 | | |
403 | 410 | | |
| |||
0 commit comments