Skip to content

josephrich98/word_counter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Word counter

alt text

A simple command-line tool to count the frequency of words in a file.

Features:

  • case-insensitive
  • removes stop words (NLTK)
  • stems words (singular vs plural, tense, etc)
  • button for filtering counts=1
  • resizable window with text size adjustments
  • button for saving to csv

Installation

pip install "word_counter @ git+https://github.com/josephrich98/word_counter.git"

Usage

GUI

word_counter

Provide text input directly from command line, with streaming to stdout

word_counter "This is a sample text. This text is for testing."

Provide text input directly from command line, with output to a file

word_counter -o output.csv "This is a sample text. This text is for testing."

Provide a text file as input

word_counter -i input.txt

Print help

word_counter -h

About

Counts frequency of words

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages