Web Speech Translation

This was an exercise that I learned to do for the purpose of familiarizing myself with APIs and speech inputs, specifically the Google voice recognition API. There were three output goals: use Javascript to perform actions on the plaintext string, converting the plaintext string to numerical code based on certain parameters, and creating a method for assigning patterns in the resulting string to glyphs.

Your phrase with a first letter swap depending on vowel or constant, plus end attachment “toi” minus certain characters

Your phrase converted to numerical code

Your phrase converted to glyph code

Save the translation

Common Words Div