Errors when running test and command from commands.txt

13 views
Skip to first unread message

Anna Iankovskaia

unread,
Apr 13, 2020, 5:15:39 PM4/13/20
to mwetoolkit
Hello,

I installed the program and tried running:
1) the test (as it was mentioned in the installation guide for Linux)
2) the command mwetoolkit3/bin/head.py   -n  2  ted-en-small.conll    (from the tutorial in the file command.txt available with the archive)

Both of them printed errors. Could you tell me please what the problems are?

Thank you in advance.     
Regards,
Anna Iankovskaia
Bug Report.png

Carlos Ramisch

unread,
Apr 14, 2020, 9:22:36 AM4/14/20
to Anna Iankovskaia, mwetoolkit
Hello Anna,

Thanks for your interest in the mwetoolkit.

As for the first error, it seems that you are using python version 2 instead of version 3.
The latest versions of the mwetoolkit do not support python2 anymore, you should use python3 instead.

As for the second error: it seems like you are passing as an argument a file which is not in the current folder.
You should either
  * call the script from the folder containing the corpus file, using the full absolute or relative path of the script
  * call the script from the mwetoolkit3/bin folder, using the full absolute or relative path of the corpus file

All the best
Carlos

--
You received this message because you are subscribed to the Google Groups "mwetoolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mwetoolkit+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mwetoolkit/6d061891-c4c5-46e6-b38d-25bb49cea52e%40googlegroups.com.

Carlos Ramisch

unread,
Apr 22, 2020, 5:05:14 PM4/22/20
to Anna Iankovskaia, mwetoolkit
dear Anna,
After a closer look, we have discovered that the first error was on our side.
The latest commit of the toolkit on git contains the correction of this error.
This should not prevent you from using the toolkit, though, since the error was in the testing routine.
Best
Carlos

Anna Iankovskaia

unread,
Apr 24, 2020, 6:03:01 AM4/24/20
to mwetoolkit
Dear Carlos,

Thanks for this update.

Regards,
Anna

среда, 22 апреля 2020 г., 23:05:14 UTC+2 пользователь Carlos Ramisch написал:
dear Anna,
After a closer look, we have discovered that the first error was on our side.
The latest commit of the toolkit on git contains the correction of this error.
This should not prevent you from using the toolkit, though, since the error was in the testing routine.
Best
Carlos

On Tue, Apr 14, 2020 at 3:22 PM Carlos Ramisch <carlos...@lis-lab.fr> wrote:
Hello Anna,

Thanks for your interest in the mwetoolkit.

As for the first error, it seems that you are using python version 2 instead of version 3.
The latest versions of the mwetoolkit do not support python2 anymore, you should use python3 instead.

As for the second error: it seems like you are passing as an argument a file which is not in the current folder.
You should either
  * call the script from the folder containing the corpus file, using the full absolute or relative path of the script
  * call the script from the mwetoolkit3/bin folder, using the full absolute or relative path of the corpus file

All the best
Carlos

On Mon, Apr 13, 2020 at 11:15 PM Anna Iankovskaia <anna.i...@gmail.com> wrote:
Hello,

I installed the program and tried running:
1) the test (as it was mentioned in the installation guide for Linux)
2) the command mwetoolkit3/bin/head.py   -n  2  ted-en-small.conll    (from the tutorial in the file command.txt available with the archive)

Both of them printed errors. Could you tell me please what the problems are?

Thank you in advance.     
Regards,
Anna Iankovskaia

--
You received this message because you are subscribed to the Google Groups "mwetoolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mweto...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages