Age | Commit message (Collapse) | Author |
|
(Like
> Python exception: <class 'SyntaxError'>: invalid escape sequence \w (lightproof_impl_en.py, line 126), traceback follows
> File "instdir/program/pythonloader.py", line 133, in activate
> mod = self.getModuleFromUrl( locationUrl )
> File "instdir/program/pythonloader.py", line 101, in getModuleFromUrl
> exec(codeobject, mod.__dict__)
> File "instdir/share/extensions/dict-en/Lightproof.py", line 6, in <module>
> from lightproof_impl_en import locales
> File "instdir/program/uno.py", line 345, in _uno_import
> return _builtin_import(name, *optargs, **kwargs)
I noticed e.g. during UITest_writer_tests3.) Appears those suspicious escapes
were present ever since 2214a3731aaffc4a51d1c712dbee553a0ba35af0 "Hungarian
sentence checking", 95445a70a29c6a1166a19f483566f2c9cfc7563b "English sentence
checking", and c9cdf3fb4752e8b0c641a3aff15d554135beb0e7 "Add Russian grammar
checking + update English and Hungarian".
Change-Id: Ia2af7e0adb00b4737b22d460dd75fa47a4ae70d5
Reviewed-on: https://gerrit.libreoffice.org/c/dictionaries/+/99047
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
|
|
Change-Id: I3ab12669bec1265ad06288a122661c5b77733e1b
Reviewed-on: https://gerrit.libreoffice.org/64916
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
|
|
Extend Hungarian dictionary with boundary data for compound words
and for disambiguation of digraphs to fix incomplete and bad
Hungarian collate, sorting and hyphenation rules in the future.
Other minor fixes (*idegenszó -> idegen szó, *periférikus etc.)
Change-Id: I3278801ac875f2d33fd5dc62efc43a9a81194734
Reviewed-on: https://gerrit.libreoffice.org/54480
Reviewed-by: László Németh <nemeth@numbertext.org>
Tested-by: László Németh <nemeth@numbertext.org>
|
|
Check reference fields with articles and affixes.
Note: fields (except footnote numbers) are expanded
again for grammar checking and expanded content has got
an initial ZWSP character for more precise proofreading rules,
see commit aab440c768b64b9d2ffa72223b6d843a84c2d061.
Change-Id: I27b3075015335bbb72ddb5b234fd48b661ba6e80
Reviewed-on: https://gerrit.libreoffice.org/51279
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
|
|
Change-Id: I2c898690f12edc0ad4c83dc6395813e21a724f64
Reviewed-on: https://gerrit.libreoffice.org/51227
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
|
|
Changes from Magyar Helyesírási Szótár (2017),
for example "soppingol", "sznekk", "videófilm".
Other fixes and rules.
Change-Id: I7ba79f48495fc0f6b930ae426e0ce1efdaa66984
Reviewed-on: https://gerrit.libreoffice.org/51020
Reviewed-by: László Németh <nemeth@numbertext.org>
Tested-by: László Németh <nemeth@numbertext.org>
|
|
and ignore the special characters of the word forms, or
break at the special character and check the word stem and
affix (with a starting hyphen) separately:
vár(hat)nak -> várhatnak
„Tisza”-ban -> Tisza, -ban [Note: this removes false alarms
in Writer, but extra grammar checking can help to check
matching of the stem and the affix.]
Change-Id: Icb810ccc1ecb84fea3ee5093100e2fdc874edb6c
Reviewed-on: https://gerrit.libreoffice.org/50475
Reviewed-by: László Németh <nemeth@numbertext.org>
Tested-by: László Németh <nemeth@numbertext.org>
|
|
- by removing the obsolete date rule for "1st of month":
for example, "január 1-e", "február 1-én" are correct forms already
- add new date rules for days with bad affixation (typical mistake
after a search & replace):
"1-a, 1-án, 1-ára, 1-ához, 3-e, 3-én, 3-ére, 3-éhez etc."
Change-Id: If5fcaf4fe693fa7d30aa5c6332975a513d13a0cf
Reviewed-on: https://gerrit.libreoffice.org/48074
Reviewed-by: László Németh <nemeth@numbertext.org>
Tested-by: László Németh <nemeth@numbertext.org>
|
|
- fix rules related to the new Hungarian orthography:
- "e-mail-cím" or "ímélcím", and not "e-mail cím"
- "örökkön örökké", and not "örökkön-örökké"
- check completeness of foreign expressions: "ab ovo", "et cetera"...
- new rules (test document attached to the bug report)
Change-Id: I13ef37381fe15a3f4d51d61763e4f570a17fa2da
Reviewed-on: https://gerrit.libreoffice.org/48044
Reviewed-by: László Németh <nemeth@numbertext.org>
Tested-by: László Németh <nemeth@numbertext.org>
|
|
– new and fixed words
– apply new changes from Magyar Helyesírási Szótár (2017):
charme → sárm
Vietnam → Vietnám
– start to use new Hunspell features for two-word, etc.
suggestions for common misspellings
mégegyszer → még egyszer
egyesegyedül → egyes-egyedül
Change-Id: I38eac7b1023c823af69268ed81b86bde3309a3d0
Reviewed-on: https://gerrit.libreoffice.org/47677
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
|
|
– improved affix rules
– extended pronunciation and common misspelling data for
improved Hunspell suggestions
- new and fixed words
Change-Id: Ib8b9c371abcb764c3225180be2f0d6a21f757f09
Reviewed-on: https://gerrit.libreoffice.org/45975
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
|
|
Change-Id: I9cd563ff6c1d9e5547216efeadb65cf018c56026
Reviewed-on: https://gerrit.libreoffice.org/44290
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
|
|
Change-Id: I5fd5bd203aead86126be8ab585a4be616470f01e
Reviewed-on: https://gerrit.libreoffice.org/19620
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
|
|
Copy bugfix to localized Lightproof.py
Change-Id: I7a27492a26e3bd18ba2c6a4a299039c2ded38e53
|
|
Instead of the sentences suggested by the incomplete sentence
boundary detection of LibreOffice (enabled in version 4), Lightproof
works on full paragraph text again, allowing more precise analysis of
the text.
See http://nabble.documentfoundation.org/Grammar-checker-Undocumented-change-in-the-API-for-LO-4-td4030639.html
Change-Id: Ifc967e5b3f27da5b0edeebdb73b8f0b97c938280
|
|
I took into account this:
https://bugs.freedesktop.org/attachment.cgi?id=100592
Change-Id: Iadd7a372b9e6f68a6e70e3e059ef762a530ad41a
|
|
Change-Id: I6d36bc804271956e1c8649df0832615311fcf5e1
|
|
Change-Id: I768e1fc63bb7669db405289bc1ac449af6bd73da
|
|
|
|
...and some light clean up.
Change-Id: I33da2fa452557d9c8c22419fafdc9d221859c320
|
|
Change-Id: Ic05b4162c64f2eff43cb9dc88b282934a6fd2ce3
|
|
... from org.openoffice.comp.pyuno.Lightproof... to
org.libreoffice.comp.pyuno.Lightproof... (and increment the corresponding
extensions' version numbers) to avoid clashes with any freestanding Lightproof
extension.
|
|
|
|
|
|
Change-Id: I235d23248469b760da69983575dfcd73431757d4
|
|
... adapt dictionaries to that.
|
|
Change-Id: I70388bf6b95d8692cc6f25fc5a9c7baf3a675710
|