Ed Page
6f40717c8f
refactor(typos): Switch to BStr for better debugging
2023-07-14 13:28:36 -05:00
Ed Page
4fd4537856
fix(varcon)!: Make API independent of winnow
2023-07-14 12:48:41 -05:00
Ed Page
6cc3e3f9e0
refactor(varcon)!: Upgrade to winnow 0.5
2023-07-14 12:44:39 -05:00
Ed Page
9426924f8f
fix: Hide optional dependencies
2023-07-14 12:33:02 -05:00
Ed Page
0bde06af9a
chore(varcon): Add parse tracing
2023-07-14 12:32:16 -05:00
Ed Page
e98fc52b0d
chore(typos): Add parse tracing
2023-07-14 12:32:07 -05:00
Ed Page
a1ad167632
refactor(varcon): Resolve winnow deprecations
2023-07-14 12:23:13 -05:00
Ed Page
ca9612c045
chore: Release
2023-07-10 10:01:29 -05:00
Ed Page
917fb382ff
docs: Update changelog
2023-07-10 10:01:13 -05:00
Ed Page
f69eec1ce3
Merge pull request #729 from scop/feat/trim-in-extension
...
feat(cli): Strip `.in` suffix(es) before attempting filename match
2023-07-10 09:59:19 -05:00
Ville Skyttä
d6ac36f057
fix(cli): Make .in
stripping work with non-UTF-8 filenames
2023-07-09 12:01:53 +03:00
Ed Page
ccdede0f8c
chore: Release
2023-07-03 09:34:49 -05:00
Ed Page
a33ba8f094
docs: Update changelog
2023-07-03 09:34:37 -05:00
Ed Page
d0c5e4060f
Merge pull request #776 from epage/june
...
feat(dict): June updates
2023-07-03 09:33:47 -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
093fab31ce
docs: Update changelog
2023-06-30 09:43:21 -05:00
Ed Page
3358bff9e3
Merge pull request #774 from epage/fix
...
fix(dict): Don't correct contiguities
2023-06-30 09:42:48 -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
Ed Page
1a5a7f08de
docs: Update changelog
2023-06-29 11:12:39 -05:00
Ed Page
bd53a2797d
Merge pull request #751 from not-my-profile/allow-valid-words
...
Allow some valid words
2023-06-29 11:11:09 -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
Ed Page
7240d4bc11
docs: Update changelog
2023-06-26 15:42:48 -05:00
Ed Page
117d134f33
Merge pull request #765 from not-my-profile/preserve-correction-order
...
Preserve correction order
2023-06-26 15:41:45 -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
Ed Page
357aa55c6c
Merge pull request #764 from not-my-profile/refactor-generate
...
Refactor generate and add tests
2023-06-26 14:15:20 -05: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
601970fb32
docs: Update changelog
2023-06-26 09:05:38 -05:00
Ed Page
2b0c688117
Merge pull request #770 from epage/zar
...
fix(dict): Dont correct currency code
2023-06-26 09:03:49 -05:00
Ed Page
37d4d626b6
fix(dict): Dont correct currency code
...
Fixes #767
2023-06-26 08:48:57 -05:00
Ed Page
7a652694ec
docs: Update comparison table
2023-06-22 15:09:53 -05:00
Ed Page
d9e1ae0a39
chore: Release
2023-06-22 12:33:50 -05:00
Ed Page
f9568f20db
docs: Update changelog
2023-06-22 12:33:35 -05:00
Ed Page
2868856df4
Merge pull request #762 from epage/config
...
fix(config): Force-skip config files
2023-06-22 12:33:02 -05:00
Ed Page
5f1d3c23bc
fix(config): Force-skip config files
...
This doesn't use `extend-exclude` which means that `typos typos.toml`
will stil be skipped
This doesn't just skip the currently loaded config but any file name
that looks like a config, which might be a big aggressive but allows us
to do layered config in the future.... We've been saying that for a
while.
Fixes #711
2023-06-22 12:20:07 -05:00
Ed Page
4ccd3cba61
Merge pull request #757 from figsoda/deprecated
...
chore: remove usages of deprecated functions
2023-06-22 10:39:16 -05:00
figsoda
ef1907fb1e
chore: Remove usages of deprecated functions
2023-06-22 11:22:46 -04:00
Ed Page
8074cc6029
chore: Release
2023-06-22 10:13:38 -05:00
Ed Page
e5121970ac
docs: Update changelog
2023-06-22 10:13:29 -05:00
Ed Page
7cce285602
Merge pull request #761 from epage/rust
...
fix(config): Always apply type defaults
2023-06-22 10:12:44 -05:00
Ed Page
9e293916d2
fix(config): Always apply type defaults
...
Fixes #760
2023-06-22 09:57:15 -05:00
Ed Page
72c773aade
test(config): Verify bad merge
2023-06-22 09:16:23 -05:00