[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-i18n-doc
Subject: Pology: Writing spelling mistakes to XML
From: Alexander Potashev <aspotashev () gmail ! com>
Date: 2010-12-28 23:42:06
Message-ID: AANLkTikgeavTCbKGO_R8PNbPHgWxpeXRQnpnua5Sj_kz () mail ! gmail ! com
[Download RAW message or body]
Hi,
When I run a command like this:
posieve.py check-rules
ru/messages/playground-accessibility/ksayit.po -sxml:xml_output
, I get the following warnings:
[warning] messages/playground-accessibility/ksayit.po:73(#12): Sieving
failed: too many values to unpack
[warning] messages/playground-accessibility/ksayit.po:234(#48):
Sieving failed: too many values to unpack
[warning] messages/playground-accessibility/ksayit.po:291(#62):
Sieving failed: too many values to unpack
The file ksayit.po contains 3 mistakes according to rules and 3
spelling mistakes (6 problems total). When running "posieve.py
check-rules ..." without redirecting to XML file, all 6 mistakes are
shown. But the XML output does not contain spelling mistakes (and the
above warnings point exactly to the messages with spelling mistakes).
I can run "posieve.py check-spell" with "-sxml" option, but it seems
to be unable to filter out all latin letters before spell-checking.
You can find all the rules and aspell dictionaries necessary to
reproduce the warnings in pology/lang/ru. You should copy or symlink
check-spell.rules.disabled to check-spell.rules in order to enable
spell-checking.
P.S.: (About caching.) On second checking, 'posieve check-rules
-sxml:... ...' says "Using cache." and does not shows the warnings
again. How can I clear that cache?
--
Alexander Potashev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic