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

  1. Your program must use concurrency.
    • TIP: You may want to start with a copy of Section 07 - Lab 02.
  2. Your program must accept one or more filenames on the commandline as input.
  3. 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:

      CountWord
      8Hendrikhovna
      30succeeded
      32Russia.
      2worry,
      1carpus
  4. 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

  1. Compare the time taken between Sec.07 Lab 02 and Lab 03.