If you find that {Line_Break:Hyphen} works, please consider checking it in.

These compatibility issues are difficult to debug alone and depends on the
exact perl/OS version you're running. Your fix will add a little to the
body of knowledge

* Looking for MT/NLP opportunities *
Hieu Hoang
http://moses-smt.org/


On 28 March 2017 at 02:48, Dingyuan Wang <abcdoyle...@gmail.com> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Recently mteval-v13a.pl stopped working, printing:
>
> Can't find Unicode property definition "Line_Break" in regex; marked
> by <-- HERE in m/\p{Line_Break} <-- HERE \p{Zl}/ at
> /home/gumble/software/moses/scripts/generic/mteval-v13a.pl line 953.
>
> I see this commit
> <https://github.com/moses-smt/mosesdecoder/commit/c6c3bc84b7673618f37948
> 2cbc6b708f55a9ecd3>.
> I found that changing this to \p{Line_Break: Hyphen} worked. Is this
> the equivalent of \p{Hyphen}?
>
> - --
> Dingyuan Wang
> -----BEGIN PGP SIGNATURE-----
>
> iQEzBAEBCAAdFiEEjE4PLbCEqfvlC0rjs+TYPj8+X9wFAljZwNYACgkQs+TYPj8+
> X9xShggAhSjPEEYXsiRPT9wVljRV7XjBmexe/E7EKzl9b/PEnuxlSNSrz/0Estr5
> 8/H4s+lwKdv9xx1jTxOGOVkToiVC95QkuppXX3WS+BCDjajE8fqWc2Y0IhUWRaqf
> PAhhotEZmoWAhQC/qVM7lILf29N9OhQ2FStQH9rn+LpD2dkSZweZ0XGJ+CFpCdaP
> VA7XPWJCJZeEBUsBqrSxl1Cwzr+KQ4pw/NFP6yxJ+smmTkUSyp2FfYCtvalx/L0d
> 2UZ1fiujzco7NHeJW/0ZYwsb+NNMuM7CljBMhQAWIN+D0f6Wz1/bHH8jhFyxUw0B
> +/hN/chrAmYX+Kz2j/MKc7eXZuPtmA==
> =C+jT
> -----END PGP SIGNATURE-----
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to