Code Monkey home page Code Monkey logo

pig-latin-translator-app's Introduction

Pig Latin Translator App

An SPA Translator that converts English to Pig Latin built with React.js

Table of contents

General info

Pig Latin Translator App is a continued project from my past project, Pig Latin Translator with Python. The website contains a Pig Latin translator, dictionary, and descriptions on Pig Latin.

Pig Latin Rules

  • If the word begins with a consonant, all letters before the first vowel are placed at the end of the word and "ay" is added
    • "pig" = "igpay"
    • "happy" = "appyhay"
    • "smile" = "ilesmay"
    • "trash" = "ashtray"
  • If the word begins with a vowel, "way" is added
    • "eat" = "eatway"
    • "egg" = "eggway"
  • If the letter "y" comes at the end of a consonant cluster, it should be treated like a vowel
    • "rhythm" = "ythmrhay"

When is "Y" a vowel or consonant

  • Reference
  • Y is considered to be a vowel if
    • There is no other vowel (ex. gym, my)
    • The letter is at the end of a word or syllable (ex. candy, deny, bicycle, acrylic)
    • The letter is in the middle of a syllable (ex. system, borborygmus)

Screenshots

Pig Latin Translator Preview

Technologies

Demo

Here is a working live demo

Setup

# Clone this repository
$ git clone https://github.com/danakim21/pig-latin-translator-app.git

# Go into the repository
$ cd pig-latin-translator-app

# Install dependencies
$ npm install

# Run the app and access it at localhost:3000
$ npm start

Scope of Functionalities

List of features ready

  • Converts any word or sentences to Pig Latin
  • Save word set to my dictionary -- Cards are placed in created date
  • Save my dictionary to local storage -- Words still exist if the page is reloaded
  • Able to move the cards as the user wants

To Do

  • Delete cards from my dictionary
  • Make cards size fit to word length
  • Add tags and filter features for cards
  • Make it responsive

Project Status

Project is: in progress

Inspiration and Sources

Contact

Created by @danakim21 - feel free to contact me!

pig-latin-translator-app's People

Contributors

danakim21 avatar

Watchers

 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.