Skip to content

rocketk/wordcounter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

to count words frequency in a text file with nltk

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages