Skip to content
/ tally Public

Display the frequency of words in a text stream.

Notifications You must be signed in to change notification settings

mxilinas/tally

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tally

Display the frequency of words in a text stream.

Introduction

I made this program after reading "The C Programming Language" by Brian Kernighan. This project is part of a larger series about exploring data structures in C.

Tally uses a hashmap to store the frequency of each word.

Quick Start

git clone https://github.com/mxilinas/tally
cd tally
make
wget https://www.gutenberg.org/cache/epub/100/pg100.txt
./tally pg100.txt

Demo

./tally pg100.txt

sword               366
healthy               2
swore                55
Argued                2
threatening           5
hither              305
commenting            2
sworn               138
conclude             28
...

About

Display the frequency of words in a text stream.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published