Ask Your Question
0

Commandline spellcheck with libreoffice dictionary [closed]

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

anonymous user

Anonymous

updated 2013-05-04 23:27:45 +0200

manj_k 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
1

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

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
1

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

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

Stats

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

Seen: 979 times

Last updated: Jun 28 '12