luismsgomes / mosestokenizer

GNU Lesser General Public License v2.1
20 stars 7 forks source link

Pass extra arguments to perl script #3

Closed benob closed 2 years ago

benob commented 3 years ago

Constructor has an extra argument which allows to pass a list of arguments for the tokenizer perl script.

This is a more general way of addressing pull request #2.

luismsgomes commented 2 years ago

Thank you @benob. Sorry for the long delay to merge this. I didn't receive an email notification for the pull request or it may have gone to the spam folder.

I changed a couple of things upon your changes:

With these changes, the current version of the package is compatible with both your code and @yuvalpinter's code.

I will update the pypi package today.