#include <string>
#include <sstream>
#include <cstdint>
#include <iterator>
#include <algorithm>
#include <cctype>
#include <cstring>
Go to the source code of this file.
|
std::string | anslatortray::smartWordToPig (const std::string &englishWord) |
| Translates a single complex English word to pig latin. (more robust) More...
|
|
std::string | anslatortray::translate (const std::string &englishText) |
| Uses smartWordToPig and changeWords to perform translation from English to pig latin on every word it is given. More...
|
|
std::string | anslatortray::wordToPig (const std::string &englishWord) |
| Translates a single English word to pig latin. More...
|
|
std::string | anslatortray::wordsToPig (const std::string &englishWords) |
| Uses wordToPig and changeWords to perform dumb translation from English to pig latin on every word it is given. More...
|
|
std::string | anslatortray::attemptWordToEnglish (const std::string &pig, std::uint64_t beginningVowels=1) |
| Tries to translate a word in pig latin back to english. More...
|
|
std::string | anslatortray::changeWords (const std::string &words, std::string wordChanger(const std::string &word)) |
| Helper function to perform an operation on all whitespace-seperated strings given to it. More...
|
|