Corpus sizes don't match

9 views
Skip to first unread message

Aleksandar Petrovski

unread,
Jun 3, 2016, 8:37:51 AM6/3/16
to pialign-users
Dear All,

I have problems with running pialign. For example, the command with files a and b

pialign a b out/align. &> out/log.txt

passes, but with files c and d fails.

pialign c d out/align. &> out/log.txt
Aborted (core dumped)

with log.txt
terminate called after throwing an instance of 'std::runtime_error'
  what():  Corpus sizes don't match

You will find the files a, b, c, and d in the attachment.

Regards,

Aleksandar

Graham Neubig

unread,
Jun 4, 2016, 9:04:32 AM6/4/16
to pialig...@googlegroups.com
Hello,

Your files have a different number of lines, as evidenced by the results of "wc" below. pialign expects that both files have the same number of lines:

$ wc -l c d
       2 c
       1 d
       3 total

Graham

--
You received this message because you are subscribed to the Google Groups "pialign-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pialign-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages