Commit Graph

23 Commits

Author SHA1 Message Date
Julien Palard 3e4bb50687
Tox and github actions. (#24) 2020-11-23 14:26:34 +01:00
Julien Palard f7be80e6a6 Avoid regression on issue 21. 2020-10-12 14:42:33 +02:00
Julien Palard 5db3a839cb Faster implementation (~twice faster on python-docs-fr). 2020-10-11 23:00:30 +02:00
Julien Palard e7bc8f86ee Fix compounding error causing false negatives, hope it won't raise false positives. 2020-10-11 16:04:32 +02:00
Julien Palard f90ac406af
Use hunspell -l instead of hunspell -u3. Fixes #12 (#16) 2020-07-01 17:35:13 +02:00
Tobias Bengfort aa5bfee35d allow underscors in variables 2019-11-16 14:47:22 +01:00
Julien Palard e3eeb9cc69 FIX test. 2019-10-20 23:15:42 +02:00
Julien Palard cdb9ce15ea Drop duplicated test. 2019-10-20 23:14:57 +02:00
Julien Palard df6f43a3cc
Merge pull request #5 from xi/drop-shy
drop soft hyphens
2019-10-17 09:46:14 +02:00
Julien Palard 8d0ec4e5ae Also drop .1 in POSIX.1. 2019-10-16 17:51:50 +02:00
Julien Palard 3e4f825515 Correctly drop prefixes of accronyms. 2019-10-16 17:32:30 +02:00
Julien Palard 4a3abc4ad5 FIX: Regression in dropping plural accronyms like PEPs. 2019-10-16 17:27:03 +02:00
Julien Palard aa7da200da FIX: ignore lone dashes. 2019-10-16 17:03:15 +02:00
Julien Palard 901e8128f5 Add default values for capitalized words droppings, and add --no-drop-capitalized. 2019-10-16 16:57:03 +02:00
Tobias Bengfort d724492c72 make dropping capitalized words optional 2019-10-09 13:06:45 +02:00
Tobias Bengfort 7c4d31337b Revert "don't drop capitalized words"
This reverts commit 6ea9b78912.
2019-10-09 10:57:38 +02:00
Tobias Bengfort 51b6d6f4aa drop soft hyphens fixes #4 2019-10-09 10:56:05 +02:00
Tobias Bengfort 6ea9b78912 don't drop capitalized words
In english capitalized words are only used on the beginning of a
sentence or for proper nouns. This is not the case for many other
languages, e.g. german.
2019-09-30 13:49:50 +02:00
Julien Palard 10bfe72a5e FIX: Double spaces were breaking start-of-sentence detection. 2019-09-16 10:44:18 +02:00
Julien Palard d2ff05c850 Ignore versions like 1.6a1. 2019-08-20 16:38:03 +02:00
Julien Palard 675d2aa7d9 FIX: Don't remove half-part of firstnames. 2019-06-02 17:47:26 +02:00
Julien Palard efb957158f Dropping hours. 2019-05-23 20:45:04 +02:00
Julien Palard 9843229d7d Also eat l' and l’ before capitalized words. 2019-03-04 17:15:51 +01:00