LanguageToolby dnaberLanguageTool is an Open Source language checker for English, German, Polish, Dutch, and other languages. It is rule-based, which means it will find errors for which a rule is defined in its XML configuration files. Rules for more complicated errors can be written in Java. You can think of LanguageTool as a tool to detect errors that a simple spell checker cannot detect, e.g. mixing up there/their, no/now etc. It can also detect some grammar mistakes. It does not include spell checking. Note: Make sure the Java runtime environment 5.0 or later from Sun Microsystems is selected before you install this extension (see Tools -> Options -> Java in OpenOffice.org). Others versions of Java may fail to work. License: opensource | Read license Source code: Browse source code Further product information: Screenshots | Product details
|
||
Comments
Re
It’s cheap to choose the dissertation writing receive the super fact about this good post* and use it in thesis writing. And the essays writers want to thanks you for this!
Language Tool Error
Hi there. I've just downloaded LT and installed it. However, when I type in a letter a screen pops up and tells me there is an error.
Here's the link to a shot of what the error window says: http://tinypic.com/r/20ftfgw/4
LT 0.9.9 Not picking up all repeated words
I'm having a little problem with LT no longer picking up all repeated words, and more specifically, no longer picking up repeated spaces at all.
I'm currently running OS X 10.5.7 and OOo 3.1 with LT 0.9.9 and noted that LT had begun to behave a little erratically when it came to repeated words. As there have been a few updates etc since first installed I have just purged my OOo install, ~/usr/Library/OpenOffice files and ~/.openoffice files and done a complete reinstall to ensure these are not causing problems however the erratic behaviour continues.
What I have noticed is that while LT appears to be working correctly in the most part it does not always pick up repeated words and never picks up repeated spaces, both of these I rely on heavily.
One thing to note is if I go to Tools, Language Tool, Configuration no config options are available. Not having checked this before under OS X I'm not sure if this function should be working.
Any pointers to get LT working correctly would be appreciated.
Resolved - LT 0.9.9 Not picking up all repeated words
For the record Marcin provided this fix by email which explains how to remove disabled ruled from the LT config file when configuration options are not available through OOo menus. Removing the only rule that was disabled in my config file fixed the duplicated spaces issue.
With regards to missing config options, this seems to correspond to a problem with Apple's implementation of Java.
the configuration dialog on Mac OS X is be empty for languages with over 500 rules because Mac OS X supports only Java 5 and there is a bug in Java 5 that causes that behavior. That happened only for Polish and French, so if your document language is English, this is news for us.
Anyway, you probably switched off scanning for repeated spaces in OOo by mistake from the context menu or the grammar checking dialog. There is a config file in your user home directory and it's called ".languagetool-ooo.cfg" (please note the leading dot). This is a text file, and if you have any rules disabled, you will see entries in a line called "disabledRules". The entries will be internal IDs but they should be informative enough to remove the offending one.
As for the missing of other duplicated words, that appears to be user error. :-\
Problems with LT 0.9.9 and OOo 3.1
Just installed OOo 3.1 (the "standard" Linux install from the Openoffice.org site, on a Mandriva 2008.0 system) and while languagetool shows up on the menu, and "Check grammar" is selected in the spellcheck box, languagetool is nonfunctional. I can access the languagetool menus (configuration, etc.) with no problem, but it does not check the text at all, whether with or without autospellcheck. To be clear, I have been using LT for quite a while and have learned to completely uninstall it before upgrading Openoffice, make sure Java is selected in Openoffice, and then reinstall, shut off Openoffice (including Quickstart where that applies) and restart, which is what I've done in this case, but no go. In this case, I also restarted linux, which still has made no difference.
Noting the possible problem with jre 1.6.0.13, I upgraded to 1.6.0.14, and languagetool still does not function. I have a backup installation on a virtual machine (Windows 2000) which works fine, so at least I can use it while I solve this problem.
Languagetool is my most valuable extension, but also the most troublesome, and the difficulties I have with it always relate to installation. I say this in regard to Windows and to several different Linux distros (Mandriva, Ubuntu, Debian) where I regularly install, uninstall, or upgade Openoffice. I truly, truly appreciate the work that has gone into this, and it saves me a ton of time even with simple things like missing periods, misplaced commas, and repeated words, and while I appreciate the attention given to new features, I do wish that someone associated with the project could devote time specifically to just installation. I'm not a programmer, so I have no idea what problems you face in that regard, and I want to reemphasize that I really appreciate this extension and the labor that has gone into it.
Installation testing
The version 0.9.9 was tested as much as we could in many operating systems but there are still bugs in OpenOffice.org extension install mechanisms, and many versions of Java seem to misbehave. Let me simply recommend simple troubleshooting steps:
Finally working
Thank you for the troubleshooting steps, as it seems to be working now. Everything looked okay (java*.xml identified the correct version of java, uno files present and accounted for, etc.), but I deleted the xml file and the uno directory, then reinstalled only languagetool. The other uno packages were working just fine, but perhaps there was some conflict, I don't know. In the course of doing this, I noticed that when I uninstall an extension, openoffice leaves the installation files intact in the uno folder, which I don't think is the correct way to do things. Despite my continued uninstallations and reinstallations, it might be possible that a corruption in the original installation was simply being carried over to each successive one. No way to know, but at least it's working. Again, thanks.
Ignore Button
I can't get the "ignore" button to work. I uninstalled Openoffice, deleted all the uno packages like the Language Tool website said, reinstalled everything, and it still doesn't work. Does anyone have any suggestions as to how I can get the "ignore" button to work? Thanks.
Can you please describe what
Can you please describe what exactly happens? Do you refer to the button in the checking dialog or to the "Ignore" entry in the context menu that appears when text is underlined in blue? Please note that if you want to disable rules, you have to do so in the configuration dialog. "Ignoring" an error will only ignore this very instance.
Ignore Button
Here's exactly what happens. Language Tool will catch what it thinks is an error and when I hit the "ignore once" button in the spelling and grammar box, it will just stay on that one error. It won't move on to the next one. The only way it will continue on is when I hit the "ignore rule" button or the "change" button.
What version?
This would happen in versions prior to 0.9.8 of LanguageTool. I fixed it already for newer versions so it should be already gone.
If it happens in 0.9.9, please send me a sample document.
ignore button
I experience this bug in version 9.9, with Polish language. Usually the checker doesn't pass further when I click "ignore", but sometimes it goes through the following spelling errors and when it meets the first grammar error it comes back to the one I already ignored. I can send you a sample document, but don't know at what e-mail.
Doesn't work with OO3.1.0
This addon doesn't work with OO3.1.0. I can not install the extension with error-message "InvalidValueException" (Windows).
It does work for OOo 3.1.0.
It does work for OOo 3.1.0. Which Java version do you use? If you got the newest Java Update 1.6.0_14, then plz look here http://extensions.services.openoffice.org/project/languagetool#comment-1... for further description.
LT 0.9.9 doesn't work since Java Update 1.6.0_14
Today I've installed the new Java Runtime version 1.6.0_14, and since then LanguageTool 0.9.9 doesn't work anymore. When I open a document I see two windows with Java error messages. The only way to get grammar check working for me was to install the earlier LanguageTool version 0.9.8.
Solved
After after making a clean uninstall of Java Update 1.6.0_13 and installing Java Update 1.6.0_14 again, it did work! Perhaps something was broken after the update, but know my problem is solved.
Update does not work
Update from 0.9.8 to 0.9.9 does not work.
1) I updated it and it didn't work.
2) I removed it and installed 0.9.9 again and it didn't work.
3) I removed it and installed 0.9.8 and it didn't work. Before the update it worked.
Please don't post not working versions here. They cause a lot of problems.
OO 3.0.1. Windows XP
Works for me
Well, it works for me and several other people who tested it. So: what exactly did you try as input and what happend?
I did try to call from menu
I did try to call from menu tools --->LT---->About. It was dead and I couldn't check a document. Now I removed it. Restarted and I installed 0.9.8 again, which works fine. I will remain there until 3.1.1 is out. No more experiments.
Did you restart OOo?
Note that until you restart, the previous version is active (if any is installed). Another thing is that you need Sun Java 1.5 or Sun Java 1.6 later than 1.6_04 (previous versions, like Sun Java 1.6_0, won't work).
BTW, this version is more thoroughly tested than any other version of LT.
My Java is 1.6.0_13. I
My Java is 1.6.0_13. I restarted my computer more than 2 times. I will try it again later. I will remove 0.9.8, I will restart my computer, I will install 0.9.9, I will restart again and I will see if it works
It works now with the method
It works now with the method mentioned above. I think that 0.9.8 works faster.
Not really slower...
It depends on the language, but in 0.9.9, English checks can be up to five time faster thanks to the new sentence segmentation. They cannot be slower (it's been measured).
Note: if you have QuickStarter turned on, simple restarting of OOo is not enough. You have to quit the QuickStarter, exit the OpenOffice, and then start it again.
Just installed but no sign of Grammar checker working
I have restarted Openoffice. How have others started the grammar checker? I have gone through the list of suggestions here but I can see no signs of grammar checking.
I am using Ubuntu 8.10. OpenOffice 3.1.0, Java-6-sun-1.6.0.10
R
Did you restart OOo?
Before you restart OOo, you cannot use it, though menus might appear, they will not work. You need to restart the whole app (and no, we cannot do anything about it, this is how OpenOffice.org works).
Please see if you can see any messages on the console if you start Ooo from the console.
Same problem as martin.lander, with different conditions
I have got the same problem as martin.lander ("An error has occurred in LanguageTool: Tue, 05/12/2009 - 06:19) with the 0.9.8 version, but with different conditions.
- I have WinXP SP3 and not Vista,
- I use Ooo 3.1.0 and not 3.01,
- The problem occurred as soon as I opened a (big) file, and not after an operation,
- It seems to me that the problem occurred also when I typed an opening bracket "(".
- I use the French versions of both OOo, LT and WinXP.
To be frank, I did not check the error message in details (I have now re-installed LT 0.9.7), and there may be small differences between the message I get and that which has been copied by martin.lander. I am nevertheless certain that they were very similar (they both included "ErrorPositionComparator", "danielnaber" and "java").
Fixed.
Sorry for this bug, but it's just an annoyance (no data is lost). Anyway, it's fixed in the current release.
Further to: An error has occurred in LanguageTool:
Further to: An error has occurred in LanguageTool:
The single quote marks are U+2018 and U+2019 and the double quotes are U+201C and U+201D.
In addition typing the following will also cause the error.
a" (
or
a" )
but not
a" ()
An error has occurred in LanguageTool:
An error has occurred in LanguageTool:
java.lang.NullPointerException
Stacktrace:
de.danielnaber.languagetool.openoffice.ErrorPositionComparator.compare(Main.java:717)
de.danielnaber.languagetool.openoffice.ErrorPositionComparator.compare(Main.java:713)
java.util.Arrays.mergeSort(Arrays.java:1270)
java.util.Arrays.sort(Arrays.java:1210)
de.danielnaber.languagetool.openoffice.Main.checkParaRules(Main-java:301)
de.danielnaber.languagetool.openoffice.Main.doGrammarCheckingInternal(Main.java:301)
de.danielnaber.languagetool.openoffice.Main.doProofreading(Main.java:242)
Vista Home Premium Service Pk 1
Ooo ver 3.0.1
LanguageTool ver. 0.9.8
The error occurred when I pasted the following text into a document.
-----------------------------------------------------------------------
God as a Supreme Being, which 'embraces within itself everything which can be thought by man.' God includes all that is possible or real." (Manfred Kuehn, Kant: a biography, p. 140f.)
-----------------------------------------------------------------------
Through a process of elimination I narrowed it down to the following minimal condition.
Paste or type the following into your document on a single new line.
-----------------------------------------------------------------------
a 'a'a"
-----------------------------------------------------------------------
LT Crash in OOo 3.1
1. I am using Win XP SP3
2. I have installed OOo 3.1 and LT 0.9.8
3. LT works perfectly with simple text documents.
4. When I load a document with end notes (saved in .doc format) After a few second I receive an error message. I click OK and after a few seconds the message reappears.
5. This also happens with a page copied and pasted from the internet (it has links in it)
6. I presume the error is caused by the endnote and internet links. These seem to be the only unique feature of these pages. (Later trials make me doubt this conclusion. It seems to happen more randomly than that.)
7. The link below should give access to the error message.
http://www.mediafire.com/imageview.php?quickkey=2mllmdytozw&thumb=4
Possible Solution
To remove 0.9.5 and to install 0.9.8 do the following.
1) Download this script from here and decompress it.
http://marcinmilkowski.neostrada.pl/RemoveGrammarChecker_v01.zip
2) Close OO and shut down your computer.
3) Restart your Computer do not open OO and search for the file LanguageTool.uno.jar in your computer. (choose to search hidden files and folders)
4) Replace the file LanguageTool.uno.jar found on your computer with that one found in the zip flle you have already downloaded.
5) Open OO and from extension manager remove the language kit version 0.9.5.
6) Close OO and shut down your Computer
7) Restart, open OO and install normal using the extension manager the new version of language kit
How can I remove an old version?
Hello,
Like many others, I have upgraded OOo from 3.0.0 to 3.0.1 without knowing I had to remove LanguageToll first.
Too bad!
But now, I tried several solutions proposed on the wiki, but none worked.
I did not find the jar files to replace. And of course, as I am in Vista, the script does not work...
The command line does not work.
I do not have the old OOo install files
And I did not even find any uno_packages folder
Could you please be more precise on the localisation of the files or keys to remove?
Or would any one propose some more easy way to remove this extension?
Thanks a lot in advance!
Removing uno_packages in Vista
Hi,
To search for the uno_packages folder in your user directory, use the method recommended here:
http://www.askdavetaylor.com/search_for_files_in_windows_vista.html
Then simply delete uno_packages folder (note: if you have any templates or dictionaries, you might lose them, so you might want to back up them - look for *.oxt files).
Regards
Marcin
Thanks. I found these
Thanks. I found these folders, removed them.
But it is still impossible to remove the old LT from the extension list or to install the new one.
Does anyone here have a link to old OOo installation files?
Look at download.openoffice.org
There's a link for mirrors at openoffice.org, click it, look for extended mirrors, and there should be mirrors with OpenOfffice 3.0.0.
How can I remove 0.9.5 manually?
OO 3.0.1 under Windows XP. LT 0.9.5 not uninstalled because I was not aware that it does not work with 3.0.1. Installed for only one User. How can I remove 0.9.5 manually without loose data? The remove scripts don't work for me. They can't find some files.
It is not possible to find this files on my PC and to replace them manually .
gcoooaddon-0.0.5-SNAPSHOT.jar
CoGrOO-AddOn-3.0.1.jar
The solutions to this
The solutions to this problem are documented at http://languagetool.wikidot.com/removing-languagetool-0-9-5-from-openoff...
gcoooaddon-0.0.5-SNAPSHOT.jar and CoGrOO-AddOn-3.0.1.jar are not part of LanguageTool so I guess it's okay if the script cannot find them.
1) The command unopkg remove
1) The command unopkg remove org.openoffice.languagetool.oxt does not work
2) The following Method does not work. Script does not work and I can not find the .jar files found i the script archive to replace them manually. I can find only the LanguageTool.uno.jar file.
1. Close OpenOffice.org.
* In Microsoft Windows (but not in Vista!) you can use the script contributed by William Colen from Cogroo team. Unzip the script in a new folder and click "RemoveGrammarChecker.bat".
* In other operating systems, unzip the script. Use your operating system to look for the jar files that are found in the script archive. Replace them manually on disk.
2. Open OpenOffice.org. Remove the LanguageTool extension normally or simply update it using the new file.
LT won't install on OO 3.0.1
I receive an error message that says:
"The extension cannot be installed as the following system dependencies are not fulfilled:
OpenOffice.org 3.0.1"
I am running 3.0.1 however. My Java version has been identified by the Java site as 1.5.0_18. I have installed Java 6 Update 13, and this is also acknowledged in the Java dialog from the "New Applications" menu. In Firefox, I have created a symbolic link to the libjavaplugin_oji.so file, both from the NS7 folder and the NS7-gcc29 folder, and neither seems to make the Java version correct. (I had to create the folder "Plugins" in Firefox, and the symbolic link is the only file in there)
Can you please help me by telling me what I am missing here? Do i need another symbolic link to be installed in OpenOffice somewhere?
I am relatively new to Linux, so I don't speak Linux very well...
Firefox Java version corrected....but still get OpenOffice error
I have just discovered (after working at this for 1 full day...) that the name of one of the folders in my Java directory was NOT jreL (as the letter "L") but jre1 (the number "one"). Sorry. I feel so stunned. So unbelievably, the Java test of Firefox confirms that it is now version 6.13
But LT still won't install in OpenOffice, and I receive the same error as in my original post. Also, my OO version is 3.0.7.
There is no 3.0.7
Well, there was no release of 3.0.7. You might be using 3.0.0. Please make a screenshot of your about dialog box and put somewhere online, and then post the link here.
Thanks
Marcin
excellent, but...
Hi,
this extension (0.9.7) is working very good for me on neooffice 3 (mac) and openoffice.org 3.0.1, even portable version (win).
There is just one annoying thing: when it comes across a word or a paragraph that is in another language than the document default language, i get an error:
An error has occured in LaguageTool:
java.lang.NullPointerException
Stacktrace:
mofoligic.util.ResourceUtils.getResourceURL(Unknown Source)
....etc...
since i didnt find another way to report that (why should i join the mailing list just for this?) i wrote it here.
greetings
m
Bug tracker
Is here:
https://sourceforge.net/tracker/?group_id=110216
Anyway, the bug is fixed in 0.9.8.
Cannot uninstall
I was not aware when upgrading Open Office to 3.01 that the Language Tool extension had to be uninstalled first.
Now I am using Open Office 3.01 with Language Tool version 0.94 & cannot uninstall it.
Why when I upgraded Open Office did it not tell me that the Language Tool extension is incompatible?
So, without uninstalling Open Office how do I uninstall version 0.94 of this extension?
Uninstalling
It was technically impossible to warn automatically about the incompatibilities. You can remove the old version as described at http://languagetool.wikidot.com/removing-languagetool-0-9-5-from-openoff...
Right click doesn't work
Hello, sorry for mitakes, I'm french !
I'm running under Ubuntu 8.10 and I use OOo 3.0.1, with Sun Java 6.
It could be interesting for someone : I couldn't install this extension (the stack appeared in a window) because I hadn't installed the whole OOo package (just the OOo installation by default : writer, calc ... independently).
Now, I can check grammar with the window, and it works fine (it's a very good job !), but I can't correct word with blue underline by right clicking, like on the screenshots ... The menu that appears is the same as the one which appears when there's no error.
Thank you very much !
Could you send me a
Could you send me a screenshot that shows the underlined text plus the open context menu?
screenshot
Link to screenshot :
http://dl.free.fr/pq1ikWUIo/capture.png (click on "Télécharger ce fichier" if the download doesn't begin)
Thank you !
bad example ?
I think the answer to my problem isn't easy ...
But I noticed something :
if I write : "you am happy" : there's two errors : no uppercase, and a grammatical problem, so there's two blue underlines : under "you" and under "am", and I can correct the two errors with context menu. There's no problem, it works !
But the same example doesn't work in French ... :
- "tu es content" : I can correct uppercase error with context menu
- "tu est content" : no context menu but a single blue underline (which seems to be "cut")
- "Tu est content" : no context menu but a single blue underline (without anomaly)
(the correct sentence is : "Tu es content")
I don't understand this behavior ... Is my test wrong ?
Thank you !
Will be fixed
Some else noticed this bug already and it will be fixed in the next release.