News for hackers. Stuff that matters.
Re:Firefox extensions to make remote work and school a littl... by Someone1234 on Thursday May 21, 2020 @05:38PM (#23265737)
> LanguageTool: By default, this extension will check your text by sending it to https://languagetool.org over a securely encrypted connection. No account is needed to use this extension. We don't store your IP address.

Honestly I'd pay good money if someone invented a competitor to this, Grammerly, or Ginger that was all local (an actual usage for machine learning/NLP!). It doesn't need to be perfect just better than the bad spelling/grammar solution built into Firefox, and more private than these services.

Re:Firefox extensions to make remote work and school a littl... by inglor on Thursday May 21, 2020 @05:45PM (#23265811)
Here is how you run your own languagetool server :]

http://wiki.languagetool.org/http-server

Re:Firefox extensions to make remote work and school a littl... by Someone1234 on Thursday May 21, 2020 @08:12PM (#23267235)
Thanks giving that a shot now.

Edit: Alright this is pretty good. I'm going to stick with this for a while. It was super easy to get up and going (just spawn with "start javaw" for a background daemon).

I installed the 14 GB n-gram data too, which makes it even better. Only tip is that the command line arguments are case specific for some reason (languagemodel vs languageModel matter).

Re:Firefox extensions to make remote work and school a littl... by coldpie on Friday May 22, 2020 @08:24AM (#23271315)
Don't forget to give the creators the "good money" you promised :) https://languagetool.org/#Price
Re:Firefox extensions to make remote work and school a littl... by tzs on Friday May 22, 2020 @12:37AM (#23268684)
> It doesn't need to be perfect just better than the bad spelling/grammar solution built into Firefox

I'm still puzzled by the bad spelling tool. At first I wondered why they didn't just grab the spelling tool from some other open source project, such as Libre Office. But then someone told me that they do use the same spelling tool that Libre Office uses: Hunspell. Hunspell is also used by Chrome and it is the built-in spelling tool on MacOS.

So then the reason it sucks on Firefox must be the dictionaries? But every correctly spelled word that Firefox tells me is misspelled that I've tried in Libre Office passes...so the question then is why Firefox doesn't use whatever dictionary Libre Office uses?

Re:Firefox extensions to make remote work and school a littl... by nine_k on Friday May 22, 2020 @02:21AM (#23269179)
Do you have a dictionary for your language installed? Do you have that language selected in the spelling context menu?

For.English this should be set up by default, but I'd double-check.

Re:Firefox extensions to make remote work and school a littl... by tzs on Friday May 22, 2020 @05:17PM (#23277163)
I have "English (United States)" selected in that menu. It is the only option.

I've also tried selecting "Add dictionaries...". The page that goes to says that there are two available for my locale.

These are "English (US) Language Pack" [1] and "English United States Dictionary" [2]. I have installed both of them.

Those do show up as enabled under "Languages" and "Dictionaries", respectively, on the about::addons page.

This does not change the options available in the spelling context menu. It only contains "English (United States)" as it did before adding that dictionary and language pack, and there is no change in the results on my test words [3].

[1] https://addons.mozilla.org/en-US/firefox/addon/english-us-la...

[2] https://addons.mozilla.org/en-US/firefox/addon/us-english-di...

[3] Here's my current test words that Firefox incorrect says are misspelled: prosecutable subtractive tunable epicycle inductor subparagraphs transactional micropayments blacksmithing inductor solvability verifier ethicist tradable tradeable auditable splitter surveil responder commenter. The other things that I know use Hunspell (MacOS, Chrome, Libre Office) get all of those right except for "tradeable".

Re:Firefox extensions to make remote work and school a littl... by KwanEsq on Sunday May 24, 2020 @08:31PM (#23296359)
There seems to be a list of available dictionaries at https://addons.mozilla.org/en-US/firefox/language-tools/
Re:Firefox extensions to make remote work and school a littl... by Vinnl on Friday May 22, 2020 @09:23AM (#23271741)
Related protip for people using multiple languages/dictionaries: https://addons.mozilla.org/en-GB/firefox/addon/automatic-spe...
Re:Firefox extensions to make remote work and school a littl... by zelly on Thursday May 21, 2020 @05:42PM (#23265782)
Language Tool which you linked to is open source, GPL licensed. It's "okay".
Re:Firefox extensions to make remote work and school a littl... by amanzi on Thursday May 21, 2020 @07:32PM (#23266902)
First I've heard of LanguageTool, and it looks like they have some off-line capability, but this seems like an area where having it run in the cloud makes more sense. LanguageTool definitely __feels__ more trustworthy than Grammarly, so I'm giving it a go.
Re:Firefox extensions to make remote work and school a littl... by simonmales on Friday May 22, 2020 @05:30AM (#23270181)
Mozilla mentioned a research project of offering local ML models for translations. But haven't seen any mention of it since.

https://blog.mozilla.org/press/2019/10/mozilla-receives-meta...

Re:Firefox extensions to make remote work and school a littl... by electro_blah on Friday May 22, 2020 @12:37AM (#23268682)
They have a local server option. read the "Offline Use" section at the bottom of that page.
Re:Firefox extensions to make remote work and school a littl... by curiousgal on Thursday May 21, 2020 @07:19PM (#23266767)
Antidote has been around for a while It supports both French and English.

https://www.antidote.info/en/antidote-10