Created
April 20, 2018 13:32
-
-
Save dipanjannag/27db7607ca0e9ec20ade2acce87f8c42 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
cat corpus.txt | tr '[:lower:]' '[:upper:]' > corpus_upper.txt | |
ngram-count -text corpus_upper.txt -order 3 -limit-vocab -vocab words.txt -unk -map-unk "<unk>" -kndiscount -interpolate -lm lm.arpa |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment