Skip to content

Commit

Permalink
Europarl example - fix
Browse files Browse the repository at this point in the history
ottokart committed Nov 16, 2016
1 parent 08e0f31 commit 8cb45a0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion example/README.md
Original file line number Diff line number Diff line change
@@ -4,7 +4,13 @@ Requires nltk

Usage example:
`./run.sh`

`cd ..`

`python data.py ./example/out`

`python main.py ep 256 0.02`
`python play_with_model.py Model_ep_h256_lr0.02.pcl`

`python play_with_model.py Model_ep_h256_lr0.02.pcl`

The input text to play_with_model.py should be similar to the contents of the preprocessed files in ./example/out (i.e. lowercased, numeric tokens replaced with <NUM>), but should not contain punctuation tokens.

0 comments on commit 8cb45a0

Please sign in to comment.