Free speech
Call it without a text to score an open answer of a few seconds or a presentation of several minutes.
$ openpronounce harvard.wav Score : 78.2/100 accuracy 81.5, fluency 78.8, prosodic 77.5 Transcription: the stale smell of old bear lingers it takes heat to bring out the odor ... Speech : 15.9 s in 4 segment(s)
result = assess(load_audio("talk.wav")) # or assess_free(...) result["mode"] # 'free' result["segments"][0] # {'start': 0.922, 'end': 4.006, 'transcribe': 'the stale smell of old bear lingers', 'scores': {...}}
How it scores without a text
The recording is cut at its pauses into parts of at most 12 seconds. Each part is transcribed, and the transcript plays the role of the expected sentence: the sounds heard are compared with the sounds of the words recognised. The scores of the parts are averaged, weighted by their duration.
The English scorer also reads what the speech model computes internally on the recording, which carries the accent and the rhythm the measures miss. That brought its agreement with raters from 0.67 to 0.71, and makes it steadier on telephone audio.
What you do not get
Without a text, nobody knows which word the speaker meant. A word that came out badly is reported as unclear, never as mispronounced, and there is no list of expected and heard sounds to blame.