Eloquent proofreading assistant 1.1 is out with improved language detection and support for running LanguageTool server in the background 👻
This allows 3rd parties such as LibreOffice and Firefox to connect to a local and offline instance of the LanguageTool server.
Sonny
in reply to Sonny • • •Software that Supports LanguageTool as an Add-On
dev.languagetool.orgGary "grim" Kramlich
in reply to Sonny • • •Sonny
in reply to Gary "grim" Kramlich • • •@grimmy @pidgin both GtkTextView and LanguageTool make it pretty simple but let me know if I can clarify something.
github.com/sonnyp/Eloquent/blo…
Although I wish instead there was a xdg portal API to add this kind of features system-wide rather than per app (or per toolkit).
Eloquent/src/window.js at 08e2cb5e8c97dc267c66d36fbe1e7f300cc270f7 · sonnyp/Eloquent
GitHubGary "grim" Kramlich
in reply to Sonny • • •@pidgin Yeah we've integrated with gtkspell and the like in the past, the bigger issue for us is configuration.
ie users aren't going to want their messages going to AI at all in some cases, so we'll need a way to turn that off. We'll also probably want a way to tap into aspell or something, so we'll need an abstraction of course.
Sonny
in reply to Gary "grim" Kramlich • • •Spelling-1
gnome.pages.gitlab.gnome.orgGary "grim" Kramlich
in reply to Sonny • • •Gary "grim" Kramlich
in reply to Gary "grim" Kramlich • • •@pidgin I forgot libspelling requires gtksourceview. I'm not necessarily against that, but that's then another dependency we need to carry for mac and windows.
This could maybe make code blocks easier so it's worth looking into assuming we can get a pango formatted syntax out of it, but I don't think we can or I didn't find it last time I was looking.
We'd need a pango format because our messages are just labels now but we do need to support inline images, so this might work there too.
Sonny
in reply to Gary "grim" Kramlich • • •@grimmy @pidgin libspelling does not require GtkSourceView
It works with any GtkTextView
Sonny
in reply to Sonny • • •my bad gitlab.gnome.org/GNOME/libspel…
I think it can be made optional
lib/meson.build · main · GNOME / libspelling · GitLab
GitLabGary "grim" Kramlich
in reply to Sonny • • •Gary "grim" Kramlich
in reply to Sonny • • •@pidgin Sure, but it depends on source view for data types.
gitlab.gnome.org/GNOME/libspel…
meson.build · main · GNOME / libspelling · GitLab
GitLabSebastian Wick
in reply to Sonny • • •Gary "grim" Kramlich
in reply to Sebastian Wick • • •@swick @pidgin Blocking what specifically? We're an extremely small development team trying to get a major rewrite out that can support modern chat features because the Pidgin 2 and earlier API was written to support chat networks of the 90's...
See dev.to/grim/what-were-targetin… dev.to/grim/whats-taking-so-lo… and discourse.imfreedom.org/t/pidg… for a "brief" primer.
What's taking so long with Pidgin 3...
Gary Kramlich (DEV Community)Sebastian Wick
in reply to Gary "grim" Kramlich • • •Sonny
in reply to Sebastian Wick • • •Lorenz
in reply to Sonny • • •Angelo Verlain
in reply to Sonny • • •Sonny
in reply to Angelo Verlain • • •yeah LanguageTool is pretty heavy
I looked at splitting supported languages, but it won't help.
Could make LanguageTool a runtime download, but I'm not sure if it helps in any way?
If users don't need the LanguageTool server then they probably don't need Eloquent.
Angelo Verlain
in reply to Sonny • • •I see. Why wouldn’t splitting languages not help ?
And making LanguageTool a runtime download is probably not desirable since I really hate apps that download other content on the first use, especially when it happens when i’m then offline
Sonny
in reply to Angelo Verlain • • •Sonny
in reply to Sonny • • •@vixalientoots I do believe something as good as LanguageTool could be made while also being lightweight, but that's not what they optimize for given their main model is cloud.
I'm still very thankful for it being open source.
Amadeus Maximilian
in reply to Sonny • • •how good have you found the results of the local LanguageTool server to be? 🤔
Last time I checked the FOSS version was quite a bit less capable than the SaaS version.
Sonny
in reply to Amadeus Maximilian • • •@amxmln
You need this dev.languagetool.org/finding-e…
Which Eloquent doesn't have yet github.com/sonnyp/Eloquent/iss…
Enable n-gram data · Issue #6 · sonnyp/Eloquent
GitHubAmadeus Maximilian
in reply to Sonny • • •Cleo Menezes Jr.
in reply to Sonny • • •the esoteric programmer
in reply to Sonny • • •that's awesome!
except...do you know how would one correct those things straight from eloquent itself?
Also, about the accessibility side of it, the application has a very simple interface, which is very good, less things to go wrong! however, as it is now, I have no idea, as a screenreader user, what is wrong in a given piece of text, and how to fix it, looking at the interface itself. So then, here are some suggestions, if you'd like to implement them, I can also make an issue in the project's forge if you think that's better
Sonny
in reply to the esoteric programmer • • •Thanks for the feedback, can you submit an issue? (Copy-paste is fine)
the esoteric programmer
in reply to Sonny • • •Sonny
in reply to the esoteric programmer • • •@esoteric_programmer
github.com/sonnyp/Eloquent
lebout2canap ⏚
in reply to Sonny • • •Any idea of why it doesn't work with Thunderbird? The extension also exists for Thunderbird¹, but when I select "Local Server" it finds nothing, and when I manually enter the address as for LibreOffice² I have no more success.
¹ addons.thunderbird.net/fr/thun…
² http://localhost:8081/v2
Correcteur de texte — LanguageTool
addons.thunderbird.netSonny
in reply to lebout2canap ⏚ • • •lebout2canap ⏚
in reply to Sonny • • •According to (among others) forum.languagetool.org/t/probl…, and if I compare to github.com/sonnyp/Eloquent/blo…, I have the impression that the solution is not to be found on the side of Thunderbird, what do you think?
I tried to see if I could make the modification directly at the level of the installed flatpak (I don’t even know if it’s really feasible), and thus be able to test my hypothesis, but I don’t find the file languagetool.js.
Problem with local server with Thunderbird
LanguageTool ForumSonny
in reply to lebout2canap ⏚ • • •@lebout2canap I see
Are you able to test this? github.com/sonnyp/Eloquent/pul…
GNOME Builder will let you build/run LanguageTool from git easily.
Make sure to quit the current/stable instance of Eloquent first.
Fix compatibility with Thunderbird by sonnyp · Pull Request #20 · sonnyp/Eloquent
GitHublebout2canap ⏚
in reply to Sonny • • •After fighting for a long time with Builder who launched itself without displaying windows, and after waiting for the time necessary to download all the dependances, I came across the following error:
Program ../troll/gjspack/bin/gjspack found: NO
../src/meson.build:21:10: ERROR: Program '../troll/gjspack/bin/gjspack' not found or not executable
Unfortunately I have already devoted too much time to this problem for today.
Sonny
in reply to lebout2canap ⏚ • • •Install Eloquent on Linux | Flathub
Flathublebout2canap ⏚
in reply to Sonny • • •