diff options
Diffstat (limited to 'js/bird-words/beak.js')
-rw-r--r-- | js/bird-words/beak.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/bird-words/beak.js b/js/bird-words/beak.js index eca0067..7335a98 100644 --- a/js/bird-words/beak.js +++ b/js/bird-words/beak.js @@ -16,7 +16,7 @@ const prettyItUp = string => { return string.charAt(0).toUpperCase() + string.slice(1) + "!"; } -let corpus = fs.readFileSync('input.txt', 'utf8'); +let corpus = fs.readFileSync('corpus.txt', 'utf8'); let words = corpus.toLowerCase().replace(/[.,\/#!$%\^&\*;:{}=\-_`~()]/g,"").replace(/\n/g, " ").replace(/\s{2,}/g, " ").split(" "); let markovChain = new Map(); |