Translates English text to Pig Latin, with proper handling of capitalization, punctuation, and hyphenated phrases
-
Updated
Sep 7, 2024 - JavaScript
Translates English text to Pig Latin, with proper handling of capitalization, punctuation, and hyphenated phrases
Pig Latin Translator. I'm using regular expressions to match the words. Alters English words to Pig Latin as you type.
Pig Latin is a way of altering English Words. The rules are as follows: - If a word begins with a consonant, take the first consonant or consonant cluster, move it to the end of the word, and add ay to it. - If a word begins with a vowel, just add way at the end.
Add a description, image, and links to the pig-latin topic page so that developers can more easily learn about it.
To associate your repository with the pig-latin topic, visit your repo's landing page and select "manage topics."