Hacker News new | ask | show | jobs
by zx321 1971 days ago
You're looking for proselint. https://github.com/amperser/proselint
2 comments

Looks very interesting, but the example given ("John is very unique") and the warning given by proselint for it illustrates why this is a veritable mine-field, and why what sleepysysadmin asks for isn't really possible (but that's ok - having a tool flag possible issues is still great)

The example warning is certainly worth giving, but conversely Merriam-Webster points out that "very unique" is a common construction when "unique" is used in the sense "unusual", though most frequently used in less formal contexts. And so it may or may not be justified depending on what you're writing...

Having gone back and forth with a real editor for a novel, half the effort was a conversation with the editor based on questions about intent and preferred tone and style, in order to come to agreement on things she had flagged as possible issues where it was not clear whether or not a change ought to be made or not.

I'm absolutely going to take a closer look at proselint, though.

Certainly. I think the idea is you pick and choose the plugins that suit you (so it's probably not a perfect fit for OP) based on what you think your strengths and weaknesses are. And taste: I want to slap everyone who sticks an adjective in front of "unique", so that rule works for me. No matter what Black says, all linters are an aggregation of someone's tastes and you are free to tweak as you see fit. Descriptivism beats prescriptivism where language is concerned IMHO.
Scrivener should integrate this.
ProWritingAid integrates with Scrivener and provides grammar checking, repeated words, and much more to help you improve whatever you're writing. http://prowritingaid.com/
Friendly advice: This is helpful to know about, contextually relevant, etc and I'm glad you posted it, but you should probably disclose that you're the CEO.