Skip to content

Jaarabytes/toy-map-reduce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wc-mapreduce-go

toy mapreduce wordcount implementation in go

It works similar to the Counter python library

Takes input of random words, strings, numbers and outlines output (an array of structured structs each containing the word and the number of appearances alongside it).

Input :

skillissue
skillissue
a
ww
skillissue
a
ww
ww
a
b
a
a

Output :

[{a 5} {ww 3} {skillissue 3} {b 1}]

Usage

cat 1test.txt 2test.txt | go run main.go

You are free to modify the test txt files btw.

Installation

Prerequisites: - Golang installed

Steps:

  • Clone the repository
  • Enjoy yourself!

Contributions

I don't want them. Thank you!

About

Simple toy map reduce

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages