Commit graph

202 commits

Author SHA1 Message Date
Ed Page
0d04ce91a7 chore: Release 2023-11-01 13:58:29 -05:00
Ed Page
194cd85dd6 feat(dict): October updates
Fixes #843
2023-11-01 12:03:58 -05:00
Ed Page
285e5f633c test(dict): Help prevent correctin valid words
This dictionary was taken from OpenOfice
2023-11-01 11:35:01 -05:00
Ed Page
00220c359a chore: Release 2023-10-17 13:21:10 -05:00
Ed Page
d8ac870213 fix(dict): Alllow SHTTP 2023-10-16 20:25:36 -05:00
Ed Page
b221e9ce56 chore: Clean up dependencies 2023-10-16 12:58:00 -05:00
Ed Page
3cdcc38848 chore: Release 2023-10-02 10:27:24 -05:00
Ed Page
a6010c81a5
Merge pull request #844 from epage/sept
feat(dict): September updates
2023-10-02 10:25:43 -05:00
Ed Page
8b4d196a52 feat(dict): September updates
- The correction to `usefull` and `becuase` has existed from the initial implementation,
  as far as I could tell.
- `busses` is a valid variation of `buses`
- Had to put in a hack so that `aligning` would be preferred over
  `alining` because of how the preference algorithm works

Fixes #823
2023-10-02 08:18:50 -05:00
renovate[bot]
d34cc2c4b0 chore(deps): update compatible 2023-10-01 00:46:21 +00:00
Ed Page
f5a94fc3cc chore: Release 2023-09-25 13:07:27 -05:00
Ed Page
b798780a13 refactor(dict): Make codegen more specific 2023-09-25 12:13:53 -05:00
Ed Page
4c91f16ae1 fix(dict)!: Dont expose internals 2023-09-25 12:11:43 -05:00
Ed Page
602923bbc8 chore: Release 2023-09-01 16:20:50 -05:00
Ed Page
c7a2909bbb feat(dict): August updates
Fixes #784
2023-09-01 16:04:25 -05:00
Ed Page
0c05b217d4 style: Make clippy happy 2023-09-01 10:20:03 -05:00
renovate[bot]
f4171e782f
chore(deps): update rust crate itertools to 0.11 2023-09-01 03:12:20 +00:00
renovate[bot]
6da9470ef9 chore(deps): update compatible 2023-09-01 01:11:49 +00:00
Ed Page
853cb28df3 chore: Release 2023-08-30 10:43:04 -05:00
Ed Page
8143c3b24c fix(dict): Treat arguement as a misspelling
Fixes #816
2023-08-30 10:05:34 -05:00
Ed Page
a3bf84ade6 chore(dict): Don't clear disallowed words 2023-08-07 16:24:51 -05:00
Ed Page
8a7996b4bc chore: Release 2023-08-01 10:43:28 -05:00
Ed Page
6e72bdc74c feat(dict): July updates
Fixes #777
2023-08-01 10:28:23 -05:00
Ed Page
e14c4725cd chore: Release 2023-07-14 14:03:38 -05:00
Ed Page
ea0db833b5 chore: Release 2023-07-14 14:01:55 -05:00
Ed Page
ccdede0f8c chore: Release 2023-07-03 09:34:49 -05:00
Ed Page
25a5437d1f feat(dict): June updates
Fixes #733
2023-07-03 09:18:24 -05:00
Ed Page
2158ddd42c chore: Release 2023-06-30 09:43:35 -05:00
Ed Page
8913c8af5f fix(dict): Don't correct contiguities 2023-06-30 09:31:04 -05:00
Ed Page
2f61fa1697 chore: Release 2023-06-29 11:13:01 -05:00
Martin Fischer
b4cc2ed919 fix(dict): Don't correct unuseful 2023-06-26 23:15:46 +02:00
Martin Fischer
043179a22e fix(dict): Don't correct intension, intensional & intensionally 2023-06-26 23:15:13 +02:00
Martin Fischer
983b6a5827 fix(dict): Don't correct pervious & perviously 2023-06-26 23:14:39 +02:00
Martin Fischer
989136e755 fix(dict): Don't correct simulative 2023-06-26 23:13:37 +02:00
Ed Page
888116ae2f chore: Release 2023-06-26 15:43:01 -05:00
Martin Fischer
5553044346 fix(dict): Restore correction orders
This commit restores the correction orders lost in
09f096a096.

The commit was generated by running the commands:

    git show 09f096a0968e61e22c963a024c8c3d74453d812a~:./assets/words.csv HEAD:./assets/words.csv > assets/words.csv
    SNAPSHOTS=overwrite cargo test verify
    SNAPSHOTS=overwrite cargo test codegen
2023-06-26 22:14:06 +02:00
Martin Fischer
8d026ac23e feat(dict): Preserve correction order
We want to be able to recommend more likely corrections first,
e.g. for "poped" we want to recommend "popped" before "pooped".
2023-06-26 22:13:47 +02:00
Martin Fischer
89d5a97a8a test: Add some tests for dict processing logic 2023-06-26 19:23:27 +02:00
Martin Fischer
49a0eaab7b refactor: Make dict processing logic testable
Previously all the dictionary cleanup logic was in the function:

    fn generate<W: std::io::Write>(file: &mut W, dict: &[u8])

which parsed the provided buffer as CSV and also took care of writing
the processed dictionary back as CSV.  This commit factors out the CSV
handling, leaving a `process` function behind so that it can be easily
tested in the following commit.
2023-06-26 19:22:04 +02:00
Ed Page
2fffb1bb2b chore: Release 2023-06-26 09:05:53 -05:00
Ed Page
37d4d626b6 fix(dict): Dont correct currency code
Fixes #767
2023-06-26 08:48:57 -05:00
Ed Page
59888680cc chore: Release 2023-06-19 10:28:02 -05:00
Tobias Klauser
28fbdec824
fix(dict): Don't correct "accreting"
"accreting" is the present participle of "accrete", see
https://en.wiktionary.org/wiki/accreting. Don't correct it to
"accrediting".
2023-06-19 16:58:17 +02:00
Ed Page
172ff0bb5a chore: Release 2023-06-08 10:27:43 -05:00
Ed Page
7523a865f7 feat(dict): Pull in codespell items 2023-06-08 09:26:12 -05:00
Ed Page
a9d9fc03a2 test(dict): Report more cases to user 2023-06-08 09:23:10 -05:00
Ed Page
09f096a096 chore(dict): Automate more cleanup 2023-06-08 08:54:36 -05:00
Ed Page
27c9fe7c79 chore: Release 2023-06-01 06:22:12 -05:00
Ed Page
5277bf390e fix(dict): Allow plural deque -> deques 2023-06-01 06:07:12 -05:00
Ed Page
0ded1c8a4e fix(dict): Include May updates 2023-06-01 06:02:02 -05:00