moses-smt / mosesdecoder

Moses, the machine translation system
http://www.statmt.org/moses
GNU Lesser General Public License v2.1
1.59k stars 778 forks source link

Use subroutine calls instead #208

Closed alvations closed 5 years ago

alvations commented 5 years ago

Possibly the calls without the subroutine didn't work with ucfirst. Only reason I can think of, otherwise, I think it's safe to just revert all the way back before the patch.

alvations commented 5 years ago

Wait, doesn't makes sense because ucfirst is a native function in modern Perl.