4 ms·
This seems to use a hard coded list of explicit rules, not an LLM https://writewithharper.com/docs/rules https://writewithharper.com/docs/rules https://github
by sharkjacobs 1y ago
This seems to use a hard coded list of explicit rules, not an LLM
https://writewithharper.com/docs/rules https://writewithharper.com/docs/rules
https://github.com/Automattic/harper/blob/0c04291bfec25d0e934eaeb057d0f54af8e14a78/harper-core/src/linting/phrase_corrections/mod.rs#L985 https://github.com/Automattic/harper/blob/0c04291bfec25d0e93...
"PointIsMoot" => (
["your point is mute"],
["your point is moot"],
"Did you mean `your point is moot`?",
"Typo: `moot` (meaning debatable) is correct rather than `mute`."
),
- a2128 1y agoFrom a quick look phrase corrections is just one type of rule. There are many other rules, some are dynamic like when to use "your" vs "you're", oxford commas, etc. That it doesn't use LLMs is its advantage, it runs in under 10ms and can be easily embedded in software and still provide useful grammar checking even if it's not exhaustive