Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 376 Bytes

README.md

File metadata and controls

15 lines (13 loc) · 376 Bytes

wordcounter

to count words frequency in a text file with nltk

requirs

  • python 2.x
  • nltk

how to use

  1. put your text file into the path wordcounter, for example, a file named "sophiesworld_1_to_2.txt"
  2. execute the following commands
cd wordcounter
python word_counter.py sophiesworld_1_to_2.txt
  1. the result will be writen in the file named result.txt