Commit graph

213 commits

Author SHA1 Message Date
Ed Page
6d439a0abb
Merge pull request #922 from epage/jan
fix(dict): January updates
2024-02-01 09:00:35 -06:00
Ed Page
7d887ff092 fix(dict): January updates
Fixes #897
2024-02-01 08:49:15 -06:00
renovate[bot]
3272f07f78 chore(deps): update compatible 2024-02-01 01:14:41 +00:00
Ed Page
9c418affaf chore: Release 2024-01-02 20:54:19 -06:00
Ed Page
fc355eea89 feat(dict): November/December updates
Fixes #865
2024-01-02 20:33:03 -06:00
renovate[bot]
3f7fcb9c88 chore(deps): update compatible 2024-01-01 01:48:40 +00:00
renovate[bot]
13eedae59e chore(deps): update msrv to v1.75 2023-12-28 16:47:51 +00:00
Ed Page
a838b1820f chore: Release 2023-12-08 13:34:42 -06:00
Ed Page
17f9d18573
Merge pull request #877 from crate-ci/renovate/itertools-0.x
chore(deps): update rust crate itertools to 0.12
2023-12-01 10:19:00 -06:00
renovate[bot]
7c0b1f2b13 chore(deps): update compatible 2023-12-01 00:37:24 +00:00
renovate[bot]
1752c10187
chore(deps): update rust crate itertools to 0.12 2023-12-01 00:25:50 +00:00
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