package
0.0.0-20211212162911-6c9bd3a40a2b
Repository: https://github.com/striversity/glft.git
Documentation: pkg.go.dev
# README
Section 07 - Lab 03 : Word Count
TODO 1
Write a golang application that count the number of each word in one or more input files. However, your program MUST not count 'noise words', like 'in', 'of', 'or', etc.
Requirements
- Your program must use concurrency.
- TIP: You may want to start with a copy of Section 07 - Lab 02.
- Your program must accept one or more filenames on the commandline as input.
- After processing each file, your program must print the list of words found in all of the files and how many time that word appeared.
-
Example output:
Count Word 8 Hendrikhovna 30 succeeded 32 Russia. 2 worry, 1 carpus
-
- Your program must print the time taken for word counting as the last output.
- NOTE: This time need not include the time for printing out the result.
- TIP: Use time.Now() a the start of the program and time.Since() at the end to get the elapse time.
- Additionally, see supplemental video for this lab.
TODO 2 - Compare Runtime
Requrements
- Compare the time taken between Sec.07 Lab 02 and Lab 03.