L_ASREngine_RecognizeFile

Summary

Transcribes a media file with audio stream into text.

Syntax

#include "ltasr.h"

L_LTASR_API L_INT L_ASREngine_RecognizeFile(engine, file, result)

Parameters

L_ASREngine engine

The speech recognition engine handle.

const L_TCHAR *file

A character string that contains the media file that has audio stream.

L_ASRResult *result

Pointer to a structure to be updated with the recognized words.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

To transcribe audio from a live source, call L_ASREngine_RecognizeData.

When the recognized words referenced by result parameter are no longer needed, it must be freed by calling L_ASRResult_Free.

Required DLLs and Libraries

Platforms

x64.

See Also

Functions

Topics

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2025 Apryse Sofware Corp. All Rights Reserved.
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2025 Apryse Sofware Corp. All Rights Reserved.