Ask Your Question

Commandline spellcheck with libreoffice dictionary [closed]

asked 2012-04-01 22:20:28 +0100

anonymous user


updated 2020-08-03 00:18:40 +0100

Alex Kemp gravatar image

Hi! Is it possible to spellcheck a text file from a commandline with the same dictionary as used by LibreOffice? Or maybe it is easier to just dump all words from the dictionary? I need to use Polish dictionary and different dictionaries e.g. those that I got with aspell are way liberal. I would appreciate your help very much!

Best wishes, Pawel

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2015-10-16 22:15:24.554702

2 Answers

Sort by » oldest newest most voted

answered 2012-04-01 22:55:17 +0100

luyu gravatar image

LibreOffice uses Hunspell SpellChecker. Under GNU/Linux, install standalone command line program called hunspell. You can then define which dictionary you want to use along with many other options, type man hunspell in terminal after installation for more information.

edit flag offensive delete link more

answered 2012-06-28 17:32:32 +0100

qubit gravatar image

(apologies -- I ran out of chars in my comment, so I had to move this to an Answer)

Per the hunspell site, "Hunspell is part of the OS X from version 10.6". So that covers GNU/Linux and OSX.

It looks like you can compile it for Windows, but I don't see any binaries available for download. It doesn't look like hunspell is packaged up in Cygwin (which seems a little strange to me).

edit flag offensive delete link more

Question Tools


Asked: 2012-04-01 22:20:28 +0100

Seen: 1,024 times

Last updated: Jun 28 '12