compound-splitter.perl (taken from moses v2.1.1)