[Libreoffice] [PATCH] English and Hungarian sentence checkers

Németh László nemeth at numbertext.org
Mon Dec 5 06:05:38 PST 2011


Hi,

These patches add non-intrusive sentence/grammar checking to the
English and Hungarian dictionary extensions based on the Lightproof
Python environment, see the attached test file/documentation.
It uses LibreOffice resources (Hunspell spell checker, Calc functions
etc.) for complex tasks: dictionary lookup, morphological analysis or
optional measurement conversion.
Recent English dictionaries of LibreOffice have contained only partial
part-of-speech and morphological data, yet, but extending the
dictionary, we will be able to add more complex grammar rules, too
(like the Hungarian and French Lightproof based extensions).

PDF version of the test file: http://www.numbertext.org/tmp/sentencecheck.pdf,
Standalone extensions for testing:
http://www.numbertext.org/lightproof/lightproof-en-0.1.oxt,
http://www.numbertext.org/lightproof/lightproof-hu_HU-1.4.oxt.

Best regards,
László
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-English-sentence-checking.patch
Type: text/x-patch
Size: 51216 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20111205/3b3c9af2/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Hungarian-sentence-checking.patch
Type: text/x-patch
Size: 118305 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20111205/3b3c9af2/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sentencecheck.odt
Type: application/vnd.oasis.opendocument.text
Size: 88935 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20111205/3b3c9af2/attachment-0001.odt>


More information about the LibreOffice mailing list