Is there any code in php? The user comes at our website and pronounce some sentence or word. The backend data monetize and say its right or wrong

Im trying to making wordpress website where user comes and read a word and backend word data monetize his pronounce. The data shows the pronounce right or wrong. Like shiri, alexa