From 73a9393a7f0986ffaa6437833ba70b49d6019782 Mon Sep 17 00:00:00 2001 From: Marcin Junczys-Dowmunt Date: Sun, 1 May 2016 10:48:23 +0100 Subject: [PATCH] Update README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 44e41705..7248557f 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,7 @@ On Ubuntu 16.04, you currently need g++4.9 to compile and cuda-7.5, this also re Vocabulary files (and all other config files) in amuNN are by default YAML files. AmuNN also reads gzipped yml.gz files. * Vocabularies from the DL4MT repository (*.pkl extension) need to be converted to JSON/YAML: -
python scripts/vocab2yaml.py vocab.en.pkl > vocab.en
- +``` +python scripts/vocab2yaml.py vocab.en.pkl > vocab.en +``` * Vocabulary files from Nematus can be used directly, as JSON is a proper subset of YAML.