Update README.md
Browse files
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 |
-
+
|
|
|
|
|
|
|
|
|
|
| 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 |
```
|