[pology] pomtrans unable to handle Norwegian .pot file?
Chusslove Illich
caslav.ilic at gmx.net
Tue Mar 13 01:43:50 PDT 2012
> [: Petter Reinholdtsen :]
> I'm using Debian Squeeze, and Apertium version 3.1.0-1.2.
>
> The itil.nn.po file is a copy of itil.pot from URL:
> http://anonscm.debian.org/viewvc/debian-edu/trunk/src/debian-edu-itil-doc-nb/documentation/norwegian/itil.pot?view=log
I've probed around, and found some bugs in pomtrans, but also some weird
behavior from Apertium. To cut the story short, replace pomtrans.py and
fsops.py with those attached (in the source tree, then reinstall), and try
it out.
*But*, don't try it with complete itil.nn.po, as then Apertium just hangs. It
works when I split it into two roughly equal halves (preserving the header
in the second half) and then running pomtrans on each separately.
--
Chusslove Illich (Часлав Илић)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pomtrans.py
Type: text/x-python
Size: 17494 bytes
Desc: not available
URL: <http://lists.nedohodnik.net/pipermail/pology-nedohodnik.net/attachments/20120313/e1c43f1f/attachment-0004.py>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fsops.py
Type: text/x-python
Size: 33998 bytes
Desc: not available
URL: <http://lists.nedohodnik.net/pipermail/pology-nedohodnik.net/attachments/20120313/e1c43f1f/attachment-0005.py>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.nedohodnik.net/pipermail/pology-nedohodnik.net/attachments/20120313/e1c43f1f/attachment-0002.pgp>
More information about the pology
mailing list