Giter Site home page Giter Site logo

wordcountermvc.solution's Introduction

Word Counter

by Chan Lee , 09/14/2018

Description

This program find occurrences of specified word in given texts. User must enter two type of inputs: word to search/count and text to look for the word.

Behavior-driven Development

Specs Input Output Rationale
Program stores specified word in lower cases, for case insensitive match. "Dream" "dream" (Data will be stored a string each string of word will be lowercased.)
Program stores texts in lower cases. "I HAVE A DREAM!" "i have a dream!" (Text should be also lower cased for case-insensitive match.)
Program detects words inside the given text and store it as a string array. "Free at last!" {"free", "at", "last", ""} (Program detects punctuations and space to separate text into words. Note that the last element of array is an empty string, added because of '!' at the end of the text.)
Program returns counts only in the case of perfect match. Word: "Dream" / Text: "Dream Dreaam Drem Dream Dreaming" Match: "Dream" (Program counts only perfect match.)
Program returns final counts to users. Word: "Free" / Text: "Free at last! Free at last! Thank God Almighty, we are free at last!" Count = 3 (return total number of case-insensitive, perfect match.)

Setup/Installation Requirements

  1. Clone this repository
    $ git clone https://github.com/goenchan/WordCount
  1. Navigate into the directory
    $ cd WordCount.Solution/WordCounter/
  1. Run local hosting through dotnet run
    $ dotnet run
  1. Connect to http://localhost:5000 in web browser.

Known Bugs

None. Module other than WordCounter is not added yet.

Support and contact details

[email protected]

Technologies Used

  • Visual Studio
  • C#/.Net Core 1.1
  • AspNetCore MVC 1.1.3
  • JavaScript
  • CSS
  • HTML

Licensed under MIT

Chan Lee Copyright (c) 2018

wordcountermvc.solution's People

Contributors

chanzlee avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.