top of page
  • Writer's pictureKJ Ha

ML4Web - Assignment 4

Random Word Generator


Sample result page


This sketch is enabled by p5.speech and RiTa libraries. The user can say a number between one and five at a time as indicated on the screen. Each number will generate a random word belonging to that part of speech.


If the user is not satisfied with the generated word, they may say the number again until they get the word they like. The slider on the upper left corner is for adjusting the number of syllables of the generated word.



Demo video



bottom of page