GithubHelp home page GithubHelp logo

road2018 / audio_aligner_app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from longmaoteamtf/audio_aligner_app

0.0 1.0 0.0 2.85 MB

语音文本时间打点,voice alignment ,Conversion Time Mark

License: MIT License

Python 83.90% Shell 8.04% HTML 4.18% JavaScript 3.87%

audio_aligner_app's Introduction

文本对齐

本应用为基于kaldi的文本对齐web应用,支持中文和英文文本对齐。支持长文本,对齐速度快。

环境要求

部署语音对齐模型

  1. 安装和编译kaldi环境
  2. git clone [email protected]:LongmaoTeamTf//audio_manager_model 解压tfaligner.tar.gz将tfaligner文件夹拷贝至kaldi的egs目录下
  3. 打开tfaligner目录
  4. 创建steps和utils软链接:
        ln -s ../wsj/s5/steps ./steps
        ln -s ../wsj/s5/utils ./utils
  5. 部署完成

部署应用

操作步骤 :

  • 安装依赖

pip install

  • 设置模型位置

    • audio_manager_api/config/dev_config.py或者 audio_manager_api/config/pro_config.py文件内的
    • ENGLIST_KALDI_PATH(英文模型位置)
    • CHINESE_KALDI_PATH(中文模型位置)
  • 在 audio_manager_api : 执行python app.py

  • 访问页面 /page/chineseAligner

AI打点,文本对齐操作

操作流程:

  • 上传打包
    • 将音频文件和文本文件压缩到同一个zip文件
    • 文件不要包含空格
    • 上传
  • 选择文章语言,
  • 点击开始转换,等待进度条满,可以下载文件

使用截图如下: avatar

avatar

avatar

avatar

MIT LICENSE

Copyright 2019 Thefair http://opensource.org/licenses/MIT

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

audio_aligner_app's People

Contributors

chenxiangthefair avatar sharpcxchen avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.