On 4 January 2011 17:46, Jimmy O'Regan <[email protected]> wrote: > On 4 January 2011 17:27, Jimmy O'Regan <[email protected]> wrote: >>> jfont...@ubuntu:~/Downloads/apertium-oldca-XX-0.7$ ./dix-to-maco.py -l >>> apertium-oldca-XX.oldca.dix es-tags.parole.txt >>> Traceback (most recent call last): >>> File "./dix-to-maco.py", line 249, in<module> >>> print key + ' ' + analyses; >>> File "/usr/lib/python2.6/codecs.py", line 351, in write >>> data, consumed = self.encode(object, self.errors) >>> UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 7: >>> ordinal not in range(128) >> >> That's the mating call of 'Badly Written Python'/'Python Sucks At >> Unicode'. I'm having a look at it. > > Try the attached version. >
Attached to this is a partial conversion of es-tags.parole to suit the oldca scheme. -- <Leftmost> jimregan, that's because deep inside you, you are evil. <Leftmost> Also not-so-deep inside you.
oldca-tags.parole
Description: Binary data
------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________ Apertium-stuff mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/apertium-stuff
