mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-10-06 00:08:52 +03:00
c83628a92b
Replace the backslash-newline sequence with backslash-backslash-newline in multiline backquote command strings. i.e. replace expressions like this: `some-command \ -option1 \ -option2`; with ones like this `some-command \\ -option1 \\ -option2`; If I understand this right, the shell converts a backslash-newline sequence to an empty string (i.e. it discards it), but Perl does not. Unless the backslash itself is escaped, using a backslash-newline in a Perl command string results in errors in most instances. By escaping the backslash, it gets passed through to the shell where it is interpreted as intended. |
||
---|---|---|
.. | ||
clean.pl | ||
corpusCreator.pl | ||
in-decoding-transliteration.pl | ||
post-decoding-transliteration.pl | ||
prepare-transliteration-phrase-table.pl | ||
threshold.pl | ||
train-transliteration-module.pl |