Open delihiros opened 5 years ago
as I could not see what the code is doing I just backslashed before {
as a workaround but not sure this works as expected...
Same problem here. With Ubuntu 16.04 the syntax check passed, this was a feature deprecated on 5.22 and removed on 5.26 of perl, ub16 has perl 5.22
no solution?
I think the subroutine is trying to parse the A3 GIZA++ lines that looks like this:
NULL ({ 4 5 }) £ ({ 2 3 }) 20 ({ 1 }) means ({ 6 7 8 9 }) a_lot ({ }) to ({ }) a ({ 10 }) poor ({ 11 12 }) person ({ }) . ({ 13 })
it will basically returns something like this?
{0: [4, 5], 1:[2, 3] ... }
I do not have that error in my environment.
I am seeing the error in script/train/symmetrize.pl while training a model.
my environment
https://github.com/neubig/travatar/blob/ccaedf000d6f2de16f54a06592b669b8dbce32c6/script/train/symmetrize.pl#L159