giellalt / bugzilla-dummy

0 stars 0 forks source link

Script corpus-analyze.pl cannot be piped into (Bugzilla Bug 311) #842

Closed albbas closed 18 years ago

albbas commented 18 years ago

This issue was created automatically with bugzilla2github

Bugzilla Bug 311

Date: 2006-06-15T17:18:55+02:00 From: Trond Trosterud <> To: Saara Huhmarniemi <> CC: tomi.k.pieski

Last updated: 2006-08-07T13:08:17+02:00

albbas commented 18 years ago

Comment 1032

Date: 2006-06-15 17:18:55 +0200 From: Trond Trosterud <>

Documentation says ccat [options] file.xml | corpus-analyze.pl ... with a subsequent output in out.tmp (or was it tmp.out?) (the --id-all flag does not contribute anything). Now, corpus-analyze.pl gives some output for corpus-analyze.pl file.xml bit not for the command quoted in the help section. In itself no big deal what way it goes, but I would have liked to use the "-l sme" flag, in order to stop the analysis of other lg variants. This was possible with the ccat-first version, but it is not possible now.

albbas commented 18 years ago

Comment 1033

Date: 2006-06-15 17:19:16 +0200 From: Trond Trosterud <>

Complaints from the machine:

~$ccat -l sme gt/sme/zcorp/bound/sme/admin/sd/5606_1_P.doc.xml | corpus-analyze.pl Couldn't parse file: syntax error at line 1, column 0, byte 0 at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser.pm line 187 Can't call method "sprint" on an undefined value at /usr/lib/perl5/site_perl/5.8.5/XML/Twig.pm line 2728, <> line 7. ~$corpus-analyze.pl gt/sme/zcorp/bound/sme/admin/sd/5606_1_P.doc.xml 0%>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>100% 0%>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>100% 0%>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>100% 0%>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>100%

albbas commented 18 years ago

Comment 1034

Date: 2006-06-15 19:46:05 +0200 From: Saara Huhmarniemi <>

The script is not yet finished, so please don't test it yet. The version in cvs is to ensure some version control. I have asked Tomi to provide the ccat output I need.

albbas commented 18 years ago

Comment 1080

Date: 2006-08-07 13:08:17 +0200 From: Saara Huhmarniemi <>

This is fixed as well.