рассылка русскоязычной группы пользователей и разработчиков KDE
 help / color / mirror / Atom feed
* [kde-russian] Pology: Writing spelling mistakes to XML
@ 2010-12-28 23:41 Alexander Potashev
  2010-12-28 23:41 ` Alexander Potashev
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Potashev @ 2010-12-28 23:41 UTC (permalink / raw)
  To: KDE russian translation mailing list

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [kde-russian] Pology: Writing spelling mistakes to XML
  2010-12-28 23:41 [kde-russian] Pology: Writing spelling mistakes to XML Alexander Potashev
@ 2010-12-28 23:41 ` Alexander Potashev
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander Potashev @ 2010-12-28 23:41 UTC (permalink / raw)
  To: KDE russian translation mailing list

Прошу прощения, не та рассылка.

2010/12/29 Alexander Potashev <aspotashev@gmail.com>:
> Hi,


-- 
Alexander Potashev

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-12-28 23:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-28 23:41 [kde-russian] Pology: Writing spelling mistakes to XML Alexander Potashev
2010-12-28 23:41 ` Alexander Potashev

рассылка русскоязычной группы пользователей и разработчиков KDE

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/kde-russian/0 kde-russian/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kde-russian kde-russian/ http://lore.altlinux.org/kde-russian \
		kde-russian@lists.kde.ru
	public-inbox-index kde-russian

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.kde-russian


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git