Skip to content

2. Word Count Challenge - A tool that counts stats of inputted text and also gives you synonyms for the inputted words. It's built with React, Express, SCSS, Webpack, Babel, and consumes the Word Associations API.

Notifications You must be signed in to change notification settings

kennyctran/SpiceItUp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpiceItUp

  1. Word Count Challenge

A one-stop-shop that counts your text and also takes a block of text to give you great synonyms and related words!

typing and seeing wordcounts change

Description

SpiceItUp has a couple of features:

  • Character count (whitespaces count)
  • Word count
  • Paragraph count
  • Sentence count
  • Bigrams count (unique pairs of adjacent words)
  • Vanity count (how many times you've used "I" divided by sentences you've written)
  • Submit the block of text to have every word checked for possible synonyms

The "Spice It Up?" button consumes the Word Associations API, checking for related words and synonyms. This is perfect for essays or emails that you are just hoping to spice up. No need to pick out specific words. If you input the text and see something you like, use it!

full application walkthrough

Getting Started

Setup && Start

  • Install node on your machine
  • Install yarn on your machine with npm install -g yarn
  • Clone down the repository
  • Navigate into the root folder of the repository and run yarn to install dependencies
  • Run yarn test to check the tests
  • Run yarn build to create a bundle.js development build
  • Run yarn start to launch the server on localhost:3000

IMPORTANT

You will not be able to use the "Spice It Up?" button unless you have access to the Word Association API since its access is locked by an API key. If you don't want to sign up for RapidAPI, please contact me, and I can share the key with you.

Testing

This application has test coverage of its counting functions to ensure input text is being correctly parsed.

test coverage

Author

Kenny Tran
@kennyctran

About

2. Word Count Challenge - A tool that counts stats of inputted text and also gives you synonyms for the inputted words. It's built with React, Express, SCSS, Webpack, Babel, and consumes the Word Associations API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published