steal tokenizer from moses' scripts