Ask Your Question
0

Commandline spellcheck with libreoffice dictionary

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

anonymous user

Anonymous

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

anonymous user

Anonymous

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

delete close flag offensive retag edit

2 Answers

Sort by » oldest newest most voted
1

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

luyu gravatar image luyu
1038 1 8 14

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.

link delete flag offensive edit
1

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

qubit gravatar image qubit flag of United States
5709 3 48 41

(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).

link delete flag offensive edit

Login/Signup to Answer

Donate

LibreOffice is made available by volunteers around the globe, backed by a charitable Foundation. Please support our efforts: Your donation helps us to deliver a better product!

Question tools

Follow

subscribe to rss feed

Stats

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

Seen: 310 times

Last updated: Jun 28 '12