Apple's System Preferences "Dictation to Text", is this scriptable?

If we go to System Preferences, under Dictation & Speech, we have an application here where if we dictate, the words will be turned to text.
Does anybody know if this is scriptable in any way, or through a CoCoa framework? I have looked through the System Events AppleScript dictionary, but I cannot see anything recognisably close.Sure there speak text routines, but anything the other way around?

i was thinking about the possibilities of transcribing a voice memo, saved as m4a sound file, to text…