* chore: noun attrs, words from trending GitHub readmes
* chore: snapshots
* chore: words from trending repos, noun countability
* chore: words from trending repos, noun countability
* chore: noun countability, new words from trending repos
* chore: words suggested in discord grammar spotting
https://discord.com/channels/1335035237213671495/1383092274002526262
* chore: word from trending repos, annotation fixes
* chore: words from trending repos, noun annotations
* chore: add most words from #1683Fixes#1683
I mostly only added ones I found in Wiktionary. Most in the specialist section.
* chore: snapshots
* chore: add a few missing words
including `quaternion`
---------
Co-authored-by: Elijah Potter <me@elijahpotter.dev>
* feat: new `LintKind`s, optional `LintKind` param for `phrase_corrections`
Added more preferable→preferable linter with `LintKind::Redundancy`
Adding them to existing phrase corrections
* fix: fix and add test for more preferable→preferable
* feat: `LintKind::Grammar`
Finish adding `LintKind` to most phrase and phrase set corrections
* chore: revised based on github review
* chore: new words from trending GitHub readmes
* chore: update snapshots
* chore: dictionary and proper noun curation
* chore: curation, words from trending repos
* chore: words from trending GitHub repos
* feat: mass nouns after a/an etc.
Work-in-progress
Looks for mass nouns being treated as singular or plural nouns.
- group and sort `sequence_expr` `gen_then_from_is` etc.
- Added a new `agreement` `TokenKind` and added it to two other linters.
- Adding singular/plural & countable/mass flags to dictionary.
Does not yet handle adjectives between the determiner/quantifier and the noun.
Does not yet handle the case where the mass noun is part of a compound noun and therefor not an error.
Does not yet offer specific synonym such as "a tip" for "an advice".
* refactor: should appease precommit
Will also make planned enhancements easier.
* refactor: enum tuple variants
* refactor: specific countable synonyms
* chore: don't flag compound nouns
Default unit "piece" doesn't fit with some mass nouns like "traffic".
Fix some weird dictionary entries. Comment others.
* chore: can now suggest compound nouns
* chore: merge snapshot tests
* chore: update snapshot after merge
* fix: get rid of `assert_top5_suggestion_result`
---------
Co-authored-by: Elijah Potter <me@elijahpotter.dev>
* feat: handle the recieved→received part of #1411
* fix: appease Precommit
* test: add more tests for dialect spelling
Many of the tests fail when the words are not all-lowercase
* fix: `just format`
* fix: ensure grey is suggested when gray is wrong
Fixes part of #1401
* test: add us vs non us tests n both directions
* fix: appease precommit
* fix: don't truncate suggestions when we find dialectal spello
* chore: update snapshots
* fix: integration file went missing
* fix: attempt to fix integration test
* fix: attempt the same on a second test
* feat: split affixes and properties and support propagating properties
* refactor: use serde's default
* refactor: add comment
* fix: Fixed tagging of derived words of program
* docs(core): update docs
---------
Co-authored-by: Elijah Potter <me@elijahpotter.dev>
* chore: refactor most common affix annotation flags
- to be more mnemonic
- to more closely match our POS-tagging, which is based on Penn Treebank POS tagging
* fix(core): problems that cropped up in merge
---------
Co-authored-by: Elijah Potter <me@elijahpotter.dev>
* chore: new words, annotation fixes
* chore: new words, annotation fixes
move some wrongly in the Phrasal verb section to the Multi-word section
* fix: snapshots
* chore: new words, annotation fixes
* fix: snapshots
* dictionary: Add some chat terms and RSS
* dictionary: Add terms for open source software
* dictionary: Add ClickHouse
* dictionary: Add some Linux filesystems
* linters: Update tests
* fix: don't suggest compounds including conjunctions
* chore: `just format`
* test: this also fixed#723 so I'm adding a test for it too
* refactor: make 3 compound noun linters more consistent
* refactor: rename compound noun linters consistently
* refactor: make compound noun linters consistent
Similar but inconsistent logic moved to `mod.rs` and shared.
This revealed some weird POS quirks in dictionary annotations.
Fixed dictionary quirks that were just wrong or were archaic, obsolete, or dialectal.
Made special cases for quirks that are legit, in the shared logic.
Moved one pronoun test from compound noun to closed compounds.
Add some close compounds while I was there.
And sorted the mapping alphabetically.
Fixed several snapshot false positives.
Introduced new errors flagged in snapshots, but they're all due to changed in compound style standards over the years.
* fix: commit missed file
* fix: ascii lowercase→unicode lowercase
---------
Co-authored-by: Elijah Potter <me@elijahpotter.dev>
* chore: new words, annotation fixes
All missing vocab suggested by @ubitux in #1307 has been added
* fix: snapshots
* chore: technical acronyms & abbreviations from #1305
* chore: new words, annotation corrections, adj-of-a exceptions
* fix: forgot the snapshots
* chore: + LLM
* fix: address uncenter's concerns
Adds the other variants of "companywide" / "company-wide" and "roadmap" / "road map" with comments
* new words, an annotation fix
* feat: improve spell check suggestions by accounting for common misspellings
* refactor: use take
* tests: update VSC tests
* feat: detect misspelling or `ll` and `-er`
* test: update snapshot
* feat: extend sz misspellings to cs and ck
* fix(core): don't misplace `ParagraphBreak` tokens
Prevent markdown parser from sometimes erroneously placing
`ParagraphBreak` tokens at the beginning of a sentence/sequence.
* chore(core): automatic snapshot adjustments
* docs(core): explain cryptic fix in Markdown parser
Add a comment to explain unintuitive code in the Markdown parser.
---------
Co-authored-by: Elijah Potter <me@elijahpotter.dev>