Qwen-Forced-Aligner-polygot/qwenforcedaligner-nodejs
Qwen Forced Aligner – Node.js API Implementation
This project provides a Node.js-based API implementation of the Qwen Forced Aligner. The system uses the Fastify framework in Node.js to build a fast and lightweight API layer, while Python is used internally to run the neural alignment model.
The purpose of this repository is to create a simple and scalable API-based system for performing speech-to-text forced alignment using the Qwen alignment model.
Instead of running alignment scripts manually, the alignment functionality is exposed through HTTP API endpoints built with Fastify. This allows the aligner to be easily integrated into web applications, automation pipelines, or other backend services, while still leveraging Python to execute the neural model.
The API endpoints and behavior are designed to be identical to the Python implementation, allowing users to switch between implementations without needing to change their client-side code.
Key Features
- Node.js backend using the Fastify framework
- Python integration for running the neural alignment model
- API-driven workflow so the aligner can be used from other applications or services
- Same endpoints and API structure as the Python implementation
- Designed to run easily in Hugging Face Spaces using Docker
Open Usage
The code in this repository is completely free to use. There are no restrictions on using this code and forking it.
You are free to:
- Fork the repository
- Copy the code directly
- Modify or extend it
- Create your own Hugging Face Space
- Build your own backend service using this implementation
This project aims to make it easier for developers and researchers to deploy and experiment with Qwen-based forced alignment systems, while also exploring Node.js and Fastify for building fast and scalable API infrastructure.
