words into Pig Latin

To convert words into Pig Latin using given rules.holds the punctuation from the original word to add to the modified word.

string process
//Purpose: Identify different types of words based on punctuation, capitalization,
//and vowel placement. Identifies vowel split points based on pre-determined rules.
//Then modifies the original word into pig latin.
//Precondition: original word has any hyphens removed.
//Postcondition: original word has been modified completely into pig latin.

string postProcess
Purpose: checks for true flags, returns capital letters and/or punctuation
//to their original locations

//Precondition: original word has been modified, all lower case, no punctuation
//Postcondition: returned any punctuation, returned 1st letter to upper case
Powered by