Commit 007b659
authored
Merge pull request #179 from TranslatorSRI/fix-windows-smart-quote
We don't currently handle start-end quotes properly (i.e. “” and ‘’), because in the database we usually encode these as plain quotes (" and '). This PR replaces the query string to use the latter.
To this, I had to add `clique_identifier_count` to the test data, which is how I figured out that an entry with clique_identifier_count=1 always got a zero score (because `log(1) = 0`). We now add one to `clique_identifier_count` to fix this issue.
Closes #176.3 files changed
+202
-99
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
354 | 354 | | |
355 | 355 | | |
356 | 356 | | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
357 | 366 | | |
358 | 367 | | |
359 | 368 | | |
| |||
439 | 448 | | |
440 | 449 | | |
441 | 450 | | |
442 | | - | |
| 451 | + | |
443 | 452 | | |
444 | 453 | | |
445 | 454 | | |
| |||
0 commit comments