This sample demonstrates how to integrate speech recognition with the Syncfusion® Angular Document Editor. It showcases how spoken input can be converted into text using the Syncfusion® Speech-to-Text component and inserted directly into the document through the Document Editor APIs.
The sample serves as a reference for integrating external voice recognition solutions with the Document Editor.
Convert spoken input into text using the Syncfusion Speech-to-Text component and view the transcribed content in real time.
Insert the recognized text directly into the document at the current cursor position using the Document Editor's insertText API.
Continue editing, formatting, and managing the document after the dictated content is inserted, leveraging the full capabilities of the Document Editor.
The sample demonstrates an integration pattern that can also be used with third-party voice recognition or dictation solutions. Generated content can be inserted into the Document Editor as:
- Plain text using the
insertTextAPI - Formatted HTML content using the
pasteAPI
Install the following before running the sample:
- Node.js (LTS version recommended)
- Angular CLI
- A valid Syncfusion license key
- Modern web browser (Chrome, Edge, Firefox, or Safari)
-
Open a terminal in the project directory.
-
Install dependencies:
npm install
-
Start the application:
ng serve
-
Open your browser and navigate to:
http://localhost:4200
- Convert speech into text using the Syncfusion Speech-to-Text component
- Insert recognized text into the Document Editor
- Edit and format the inserted content within the document
- Demonstrate a foundation for integrating external voice recognition solutions
- Product Page: Syncfusion® Angular Document Editor
- Documentation: Angular Document Editor Documentation
- Online Demo: Syncfusion Document Editor Demo
For any other queries, reach our Syncfusion® support team or post the queries through the community forums.
Request new feature through Syncfusion® feedback portal.
This is a commercial product and requires a paid license for possession or use. Syncfusion's licensed software, including this component, is subject to the terms and conditions of Syncfusion's EULA.
- Purchase a License: Syncfusion Licensing
- Start Free Trial: 30-Day Free Trial