From 4b3bbd70e6a1f6193c6e775bb687511feca2a2ab Mon Sep 17 00:00:00 2001 From: Kevin Brubeck Unhammer Date: Mon, 3 Jun 2024 11:44:10 +0200 Subject: [PATCH] Document clarification that en-sv.fwd and sv-en.rev are *output* (for a newcomer it can look like they are expected inputs) --- README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 1a35347..3df30b3 100644 --- a/README.md +++ b/README.md @@ -83,14 +83,16 @@ has not been tested yet. ## Generating priors -If you have a large file that you want to use as "training data", `en-sv`, and -a small file that you later want to align quickly, `en-sv.small`, start by -aligning the large file as usual, e.g.: +If you have a large file that you want to use as "training data", named `en-sv`, +and a small file that you later want to align quickly, `en-sv.small`, start by +aligning the large file as usual, specifying where to write the reverse and forward +alignment output files: eflomal-align -i en-sv --model 3 -f en-sv.fwd -r en-sv.rev -Now you can generate priors based on this large aligned file, stored in -`en-sv.priors`: +The above command will give you two intermediate files `en-sv.fwd` and `en-sv.rev`. +Now you can use these to generate priors based on the large aligned file. The +priors will be stored in `en-sv.priors`: eflomal-makepriors -i en-sv -f en-sv.fwd -r en-sv.rev --priors en-sv.priors