Bug 162329 - support for grammar checker jlanguagetool
Summary: support for grammar checker jlanguagetool
Status: RESOLVED NOT A BUG
Alias: None
Product: kdelibs
Classification: Unmaintained
Component: kspell (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Zack Rusin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-19 21:41 UTC by Benjamin Schulz
Modified: 2009-01-06 09:40 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Schulz 2008-05-19 21:41:16 UTC
Version:            (using KDE 4.0.4)
Installed from:    Compiled From Sources
OS:                Linux

KDE already has spell checking support.

Now there exists a Grammar checker, released under GPL, it is called JLanguageTool
http://www.languagetool.org/

could KDE support this application in the same way, as it supports ispell?
Comment 1 Benjamin Schulz 2008-05-20 01:06:42 UTC
I might add, that languagetool seems to be a very good grammar checker. There is already support for many languages

Czech	Dutch	English French	German	Italian		Lithuanian	Polish Slovenian Spanish	Swedish Ukrainian

The rules for checking can be added dynamically (as can languages themselves).

The Application seems to get easily imported in other systems (it has already open-office support).

The author himself describes how to integrate the previous version of it (which was written in python, not in java) into k-word at page 41
http://www.danielnaber.de/languagetool/download/style_and_grammar_checker.pdf


Comment 2 Zack Rusin 2008-08-25 20:13:06 UTC
Yes, it is very nice, but it has two prohibitive problems:

1) the interface to it is through a socket. We went through "communicate with external application through a socket" problem with Kspell1. It never works. Which application should start the external application? Which should quit it? Do we need multiple instances all on different ports...

2) Distros don't package it. (also likely due to a lack of C/C++ interface)

If languagetool had a C/C++ interface we'd have grammar checking in Sonnet long ago.