You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
static std::vector<std::string> phonemes; // Vector of phonemes
static std::vector<std::vector<std::string>> pronounce; // Each vector correlates to a particular phoneme, and each element is a pronounceable phoneme that can follow that phoneme.
public:
static phoneme get_phoneme(tk::random& rand); // Returns a random phoneme.
static phoneme get_phoneme(tk::random& rand, tk::phoneme p); // Returns a random phoneme that can come after p.
static void set_phonemes(); // Initialises the class.
phoneme(std::string s); // Constructor. s is a phoneme.