Skip to content

TPei/Pig-Latin-Converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pig-Latin-Converter

converts a text to pig latin with unit test

RESULTS: "happy" -> "appyhay"; "duck" -> "uckday"; "flow" -> "owflay"; "fly" -> "flyay"; "egg" -> eggway"; "inbox" -> "inboxway"; "what the heck is this stuff" -> "atwhay ethay eckhay isway isthay uffstay "; "what the heck is this stuff?" -> "atwhay ethay eckhay isway isthay uffstay? "; "what the heck? is this stuff?" -> "atwhay ethay eckhay? isway isthay uffstay? ";

ISSUES:

  • special characters are handled as if they were letter
  • except the last special character directly at the end of a work (no spaces etc)

"what the heck,,,, is this stuf???" -> "atwhay ethay eck,,,hay, isway isthay uf??stay?"

future plan: converts entire text to pig latin

About

converts a text to pig latin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages