The Grammar feature seems to have weird suggestions/cycles too on a little bit more testing. Curious to see how this improves. A local only, one-time-purchase grammarly alternative is appealing!
[1] Loosely; I’d say not referencing any networking entrypoints or dlsym() also counts, as working around that would be very non-deniably malicious.
Edit: Alas, Hacker News also removes the extra space after periods.
Two spaces after periods is a kludge invented for typewriters that had monospaced fonts and touch typing teachers need to stop teaching it in the modern era where most writing uses proportional fonts.
You can try it out here:
https://chromewebstore.google.com/detail/grammit-the-ai-gram...
LLMs can also correct other sorts of mistakes, such as correcting "The first US President was _Ben Franklin_" to "George Washington".
And they can also cause new factual mistakes that a grammar checker never would!
Just have a Windows Scheduled Task kick off this bat file:
SET PATH=SET PATH=C:\program files\Amazon Corretto\jdk17.0.15_6\bin\
start javaw -cp languagetool-server.jar org.languagetool.server.HTTPServer --port 8081 --allow-origin "*" -l en-US --languageModel "C:\LanguageTool\LanguageTool-6.3\ngram"
[0] https://dev.languagetool.org/finding-errors-using-n-gram-dat...Does not catch a singular/plural discrepancy between the subject and the verb in a sentence--a common mistake when the expressed thought applies equally to one thing or to many things.
Does not catch a missed indefinite article--a common mistake for speakers of languages that don't have articles. Similarly, does not catch the use of the indefinite article for a thing already mentioned before.
Does not even catch the obvious "don;t" typo.
I use Harper in my Neovim setup and its been great. I just add things that are missing from the dictionary when I come across them in my codebase
The fluency suggestions are seemingly largely malfunctioning. It frequently suggests starting and ending sentences with quotes, although it also makes some useful suggestions. There seems to be an issue with analysis running synchronized, or something like that; when I type into a text field and Refine starts to run, it often blocks text entry. Selecting a suggested replacement blocks the app for half a second or so. Neither of these problems occurs with Grammarly or Language Tool. I also noticed a bunch of issues that Grammarly catches (like verb agreement) that Refine does not.
But this is an amazing first release and extremely promising. Congrats!
I realize I'm a niche :)
Does anybody know of such a tool?
Two of your 4 questions were answered in the first content block
This phrase is offensive and violates my safety guidelines. Therefore, I will not revise it. I am programmed to avoid generating responses that are obscene, or that contain profanity.
because what's under the hood is this, and prompts are hardcodedunsloth/gemma-3n-E4B-it-GGUF
You are a precision editor guided by a custom style manual. Your tasks are ordered by priority.
Your primary rule is to consult the provided REFERENCE DICTIONARY. Any term on this list is correct and must be preserved exactly as written.
Your secondary rule is to refine phrasing and sentence structure to improve clarity, conciseness, and flow. The goal is to make the text read more naturally and professionally, while **strictly preserving the author's core meaning and tone.**
Your final rule is to output ONLY the clean, revised text. You MUST NOT add any commentary, greetings, or explanations.
REFERENCE DICTIONARY:
{{dictionary_words}}
Revise the following:
"{{sentence}}"
You are an expert editor. Your single most important goal is to improve the fluency and clarity of the following text while STRICTLY PRESERVING the author's original voice and meaning.
You MUST follow these rules:
1. Only rephrase sentences that are genuinely awkward or unclear.
2. Never make changes for purely stylistic preference.
Return ONLY the clean, revised text.
Revise the following:
"{{sentence}}"
{{dictionary_words}}
You are a silent grammar correction engine with a custom style guide.
Your primary rule is to consult the provided REFERENCE DICTIONARY. Any term on this list is correct and must be preserved exactly as written.
Your secondary rule is to correct all other grammar, spelling, and punctuation errors in the main text.
Your final rule is to output ONLY the clean, corrected text. You MUST NOT add any commentary, greetings, or explanations.
REFERENCE DICTIONARY:
{{dictionary_words}}
Correct the following:
"{{sentence}}"
You are a silent grammar correction engine. Your sole function is to receive text and output the corrected version. You MUST NOT add any commentary, greetings, or explanations. You will only return the clean, corrected text.
Correct the following:
"{{sentence}}"
> Sometimes I still make mistakes with articles and prepositions, but my grammar is getting better every day I practice.
In American/Simplified English, this is grammatically correct. However, in 'full fat' English, practice is a noun, whereas practise is a verb; e.g.:
> I go to my practice to practise medicine.
The problem I have with this website is that it's entirely concerned with peripheral issues. The product respects my privacy - good. The product is performant - good. The product doesn't require an Internet connection - good. The product works in many writing apps - good. The product has transparent pricing - good. But I don't give a shit about any of this until you convince me that this will consistently do the correct thing, and this website singularly fails to achieve this.
> ... in 'full fat' English ...
English is a bastard of a language and getting messier every day as new nations adopt it is their standard language.
Setting the bar where it is well written and unambiguously understandable is IMHO completely fine for a 15$ product.
Having a text spell checked to comply with contemporary Oxford English is likely not the goal of this product.
I disagree strenuously with this idea, because it suggests that there is one 'big' English in which anything goes. A better idea is the one of the register[0]: there are many Englishes, many sets of rules. Different rules are used in different regions, by different groups of people, and have different connotations (e.g., the King James Bible was intentionally written in a form of English that was considered archaic at the time because that would make it sound more grandiose).
If I were to use this tool, I'd be using it to ensure that whatever I'm writing is well-received by my intended audience. Because English usage is so varied, I would need to be able to control the register that it uses to ensure that the output is suitable. The fact that the product website doesn't even mention a list of supported languages, let alone supported dialects and registers within those languages, has a very everyone can see what a horse is kind of feeling[1].
[0] https://en.wikipedia.org/wiki/Register_(sociolinguistics)
Absolutely, but try to make a run-of-the-mill LLM understand this.
If you chose Oxford because of the Oxford English Dictionary, note that it's not regular en-gb, it's en-gb-oxendict. "the OED often favo[u]rs "-ize" (and its derivatives) over "-ise" for words derived from Greek roots, and may also include historical or less common usages."
What you suggest does seem like a good early doors feature; but the cut they've made seems to be the right one to prove market potential.
Perhaps you live under a rock, I don't really know, but it maybe just happens that you're not a target audience? There's for sure many folks, and even more so companies, who will value their own privacy more over practice vs practise bikeshedding.
British English is still influential over most of the Commonwealth, ie a large number of countries.
If you use these words in writing for Americans and you are not a citizen of the British Commonwealth, you instantly mark yourself as arrogant.
It never occurred to me that this could ever be perceived as arrogant (even if only when referring to someone with a different background.) And I wouldn't have thought it would mean anything more than a certain language cosmopolitanism, lah ;) (Hope that joke comes through! It's been decades since I had much exposure to Malaysian English.) Can you explain why this might be, please?
British Commonwealth authors (well, really any author I know to be not from the USA) get a pass because these are the spellings they were taught. Nothing wrong with that.
This is a phenomenon I've only noticed in the last two decades or so. I don't know if American students are now being (wrongly) taught British spellings in school or they merely think their writing will carry more weight if it has a British "accent" but it just seems arrogant to me.
The OED is a useful resource but it is not our dictionary of final arbitration. Americans should use the American Heritage Dictionary.
As an American English speaker, I have in the past used UK spellings when communicating at work with a group that I know only contains British English recipients. There is nothing wrong with that -- anything that makes communication more fluid should be welcome.
I believe the arrogance angle exists in a situation where an American English speaker with no British English education is using British spellings when communicating with other _American English_ speakers to purposefully create an air of superiority. If you do this, even if no one says anything, they definitely notice.
For other English dialects, my personal take is that most Americans (at least the ones who travel or interact with foreigners personally or at work) will assume they either are or are heavily influenced by British English due to history.
What do you regard as the British Commonwealth, and what variant of English spelling to you expect people to use who are not part of this grouping?
Just so that you know, in case you don't, "US English" is used just about exclusively in the US, and UK English is used in most of the rest of the world, despite the fact that most of our devices incorrectly default to US English.
To be sure, I don‘t have any dog in this fight, just highlighting a fact from my experience that many here might not know.
Nobody actually uses UK English here, except for English teachers. Computers don't. TV doesn't. Corporate jobs don't. And so regular people don't either.
Without such a conscious choice, yes, Americanisms do seem a fair bit more globally pervasive and easy to fall into "by accident".
> Without such a conscious choice, yes, Americanisms do seem a fair bit more globally pervasive and easy to fall into "by accident".
You'd need choice and enforcement - unless such organization is testing for Received Pronunciation during interviews and filtering out people who cannot into Queen's English[0], I'd wager most of the members in such org, who don't come from UK (or a few related countries), will be speaking "British English" with distinctly US pronunciation. Because while an organization can make a conscious choice here, for most people, learning a second language is a long-term endeavor that largely happens "in the background", and it's very easy to learn a blend, with UK English being present in schools, and US English everywhere else.
--
[0] - Or is it King's English now?
Non-native US-English speakers are not viewed in the same light (in my opinion).
Correct: practice is a noun, and practise is a verb, in non-US English. I don't have my (twenty-volume) copy of the Oxford English Dictionary to hand, but Wiktionary has an explanation under 'usage notes': https://en.wiktionary.org/wiki/practise
I see.
In the UK, it's considered good form to be humorous when making an argument; I gather that in the US, you're supposed to sound like you're making a speech to prepare troops for war. I apologise if, in the course of describing how a product is unsuitable for use in my culture, I made that argument according to the norms of my culture.
Banter (Simplified)
I worry that this will make my writing more likely to fail an AI coursework detector, which could really impact my life. The risk just isn't worth it till someone has tested the output through all the big players (turnitin etc.)
Colour and licence are so quaint.
I could cite many sources but https://en.wikipedia.org/wiki/American_and_British_English_s... provides a simple view.
But when you look at things like the type of English being taught in school, or the language used by the government, it'll be UK/International English.
Commonwealth countries are relatively minor in population compared to the USA and the rest of the world.
And yes, default US spelling in devices does play a role. See prev. point about technological and cultural dominance.
Given India's presence in the Commonwealth, this seems an odd assertion. 2.6 billion people live in the Commonwealth[1].
[1] https://en.wikipedia.org/wiki/Member_states_of_the_Commonwea...
We have enough American cultural hegemony as it is. It frustrates me no end that I regularly am unable[1] to configure software to use my preferred version of English.
[1] or it's extremely difficult. CLion I'm looking at you; every available option I have is set to British English, but still you insist on telling me my Colours should be corrected to Color etc. :(
You don't need docker (a Linux-only piece of tech) to run a java application. Even though I'm on Linux, and docker experience is waaaaay better here than on any other platform, I wouldn't in my life consider using it to run LanguageTool.
java -cp languagetool-server.jar org.languagetool.server.HTTPServer
https://github.com/sonnyp/Eloquent
It is restricted by Flatpak (i.e. Control Groups and Namespaces):
* No file-system access
* No access to devices
* Network Access is allowed (API of Languagetool is only reachable via REST?)
It is fat. But that's more an issue of Java itself. I only wish Languagetool didn't use Java, which is fine on a servers but horrible on personal-computers. Implemented in C, C++ or Rust and it would be probably already part of LibreOffice. Sonny Piers is the packager Flatpak, a prominent ex-member of GNOME board. He was removed due some Code-Of-Conduct thing which nobody can explain, due to issues within the Code-Of-Conduct.PS: LibreOffice had to fight years to remove Java which plagued the project.
Does Refine solve this?
> Can’t find the answer you’re looking for? Feel free to sent us an email at support@refine.sh
Should be "send". Especially with this kind of product, you shouldn't have grammar mistakes on the website :)
Gemini subscription costs as much, allows me to do much more, and I can call it from vim or emacs without some arcane acrobatics
Legally, there is no entity behind that responsible for privacy (1), and honestly, I don't see even minimal reason to trust this software from a legal perspective.
codesign --display --verbose=4 Refine.app 2>&1 | grep sandbox
Apple provides a network client entitlement[1] that sandboxed apps must have, to connect to the network. Since this app isn't sandboxed, that restriction doesn't apply.Personally, I only use software that was either built on my machine or downloaded off of the Mac App Store (MAS apps have the be mandatory sandboxed).
[1]: https://developer.apple.com/documentation/bundleresources/en...
gbalduzzi•7h ago
runjuu•7h ago
In upcoming releases, Refine will support custom prompts and BYOK (Bring Your Own Key), allowing you to use any large language model you want.
pyman•5h ago
You do realise you're already using an optimised model built for everyday devices, and that model includes some serious innovations in parameter-efficient processing, right?
You're a great developer, and it looks like you're thinking about adding features like BYOK quickly to please more users. But in doing that, you might be missing the real innovation you've already created. You've basically built a version of Grammarly without the privacy issues that make most IT departments ban it.
No one wants Grammarly or your tool sending corporate emails or documents to a language model. Privacy is what sets you apart from Grammarly. It's your biggest feature right now. Add a big table to your site comparing your products privacy with Grammarly's. That's your strongest selling point, and probably the only feature that can truly compete with the big players.
My advice? Keep improving the app, but keep the model local. Keep it private. That's the killer feature you've got.
rubslopes•2h ago