Closed battlejj closed 10 years ago
In your word count example the following line:
var text = fs.readFileSync('/Data/Gutenberg/all/' + dir[bufNum], 'utf8', "r")
should be:
var text = fs.readFileSync('/Data/Gutenberg/all/' + dir[docNum], 'utf8', "r")
My bad -- thanks for point that out! I just fixed the README.
In your word count example the following line:
var text = fs.readFileSync('/Data/Gutenberg/all/' + dir[bufNum], 'utf8', "r")
should be:
var text = fs.readFileSync('/Data/Gutenberg/all/' + dir[docNum], 'utf8', "r")