Để thiết lập lại project thì vào /model/batch.js sửa speechClient
Các thông số thiết lập database (mongo) thì vào /model/db.js
Hướng dẫn cách dịch file
- Chuẩn bị tệp json chứa Google Drive ID của file audio (xem mẫu ở thư mục json)
- Chạy lệnh node b.js duong-dan-den-file.json 1-cai-ten-audio-file-unique
- Có thể mở nhiều terminal để chạy song song lệnh trên với nhiều file json
- dữ liệu sẽ được lưu vào database. Chạy lệnh node index.js để xem trên web.