ASlien / wordcounter

to count words frequency in a text file with nltk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:Apache License 2.0


Languages

Language:Python 100.0%