Skip to content

independent project for c# that counts word occurances

Notifications You must be signed in to change notification settings

TTeigen/wordCounterIProj

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Word Counter

Terminal Application that counts word occurances in a sentence.

By Trevor Teigen

Description

This app takes a sentence and a word from the user and returns how many times that word is in the sentence, 7/26/2019.

Specs

Spec Input Output
Asks the user for a sentence "I walked my dog today", "dog" string sentence = "I walked my dog today", string word = "dog"
This example is a short and relatively basic/common sentence structure/word choice and would return a value of "1 occurance".
Checks the sentence for occurances of the word "Does Will Smith smith?", "smith" int occur = 2;
This example is a less common than the first, being a portion of a tongue twister, but is a good example of a repeated word.
Only counts words that are a full word "Can a woodchuck chuck wood", "wood" or "chuck" int occur = 1;
Technically 'wood' and 'chuck' can be found twice in this sentence but we only want to return the number standalone occurances.

Setup/Installation Requirements

  • Clone this repository and >dotnet run in temrinal

Known Bugs

  • No known bugs at this time.

Technologies Used

  • C#

Support and contact details

Please contact Trevor Teigen with questions and comments.

License

GNU GPLv3

Copyright (c) 2019 Trevor Teigen

About

independent project for c# that counts word occurances

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages