Skip to content

Count word frequencies in txt and export to csv.

License

Notifications You must be signed in to change notification settings

darredondort/freqs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

freqs

Simple word analysis tool. Count word frequencies in txt and export to csv.

Based on @waltfy / word-freq


Install:

Install Node.js

Clone or download repo.

git clone https://github.com/darredondort/freqs.git

Change directory to freqs.

cd freqs

Install npm dependencies

npm install

Usage

Paste text into input.txt file.

Run main script

npm start

Resulting frequencies, word table stored in freqs.csv

freq word
12 la
10 cucaracha
9 no
8 porque

Roadmap

0.0.1:

  • Import text string from .txt.
  • Count word frecuencies in string with word-freq.
  • Parse and export .csv.

Backlog:

  • Sort frequencies list from highest to lowest.
  • Remove conflicting accents and special characters.
  • Check for and remove English and Spanish stopwords.
  • CLI version.

License

MIT © Diego Arredondo

About

Count word frequencies in txt and export to csv.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published