Skip to content

to count words frequency in a text file with nltk

License

Notifications You must be signed in to change notification settings

foxzero-007/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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%