imdbo commited on
Commit
25c83df
·
verified ·
1 Parent(s): 284953d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -1
README.md CHANGED
@@ -24,7 +24,10 @@ Modelo feito con OpenNMT-py 3.2 para as línguas do Reino de España e inglés u
24
  ```bash
25
  pip install subword-nmt
26
  ```
27
- + Traducir un input.txt utilizando o modelo cos seguintes comandos:
 
 
 
28
  ```bash
29
  subword_nmt.apply_bpe -c ./bpe/mnmt_25.bpe < input.txt > input.bpe
30
  ```
 
24
  ```bash
25
  pip install subword-nmt
26
  ```
27
+ + Etiquetar o ficheiro input com a etiqueta da lingua target
28
+ ```bash
29
+ sed -i "s/^/<$tgt_tag>/" $input_file
30
+ ``
31
  ```bash
32
  subword_nmt.apply_bpe -c ./bpe/mnmt_25.bpe < input.txt > input.bpe
33
  ```