Skip to content

Open Source Project for Korean End-to-End (E2E) Automatic Speech Recognition (ASR) in Pytorch for Deep Learning Researchers

License

Notifications You must be signed in to change notification settings

hephaex/KoSpeech

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Korean-Speech-Recognition

build license language framework team

Intro

This is project for Korean Speech Recognition using LAS (Listen, Attend and Spell) models
implemented in PyTorch.
We appreciate any kind of feedback or contribution.

Roadmap

Speech recognition is an interdisciplinary subfield of computational linguistics that develops methodologies and technologies that enables the recognition and translation of spoken language into text by computers.

We mainly referred to following papers.

「Listen, Attend and Spell」

「SpecAugment: A Simple Data Augmentation Method for Automatic Speech Recognition」.

if you want to study the feature of audio, we recommend this papers.

「Voice Recognition Using MFCC Algirithm」.

Our project based on Seq2seq with Attention Architecture.

Seq2seq is a fast evolving field with new techniques and architectures being published frequently.

and We use AI Hub Dataset which contains 1,000 hours korean voice data.

And, our project is currently in progress.
At present our top model has recorded an 80% CRR, and we are working for a higher recognition rate.
( CRR : Character Recognition Rate )

More details

Installation

This project recommends Python 3.7 or higher.
We recommend creating a new virtual environment for this project (using virtualenv or conda).

Prerequisites

  • Numpy: pip install numpy (Refer here for problem installing Numpy).
  • PyTorch: Refer to PyTorch website to install the version w.r.t. your environment.
  • Pandas: pip install pandas (Refer here for problem installing Pandas)
  • librosa: pip install librosa (Refer here for problem installing librosa)
  • tqdm: pip install tqdm (Refer here for problem installing tqdm)

Get Started

Preparation before Training

Refer here before Training.
The above document is written in Korean.
We will also write a document in English as soon as possible, so please wait a little bit.

If you already have another dataset, please modify the data set path to definition.py as appropriate.

Train and Test

if you want to start training, you should run train.py.
or after training, you want to start testing, you should run test.py.

you can set up a hyperparameters hparams.py.
An explanation of hparams is here.

Troubleshoots and Contributing

If you have any questions, bug reports, and feature requests, please open an issue on Github.
or Contacts [email protected] please.

We appreciate any kind of feedback or contribution. Feel free to proceed with small issues like bug fixes, documentation improvement. For major contributions and new features, please discuss with the collaborators in corresponding issues.

Code Style

We follow Google Python Style Guide for code style. Especially the style of docstrings is important to generate documentation.

Reference

[1] 「Listen, Attend and Spell」 Paper
[2] 「A Structured Self-attentive Sentence Embedding」 Paper
[3] 「A Simple Data Augmentation Method for Automatic Speech Recognition」 Paper
[4] 「Voice Recognition Using MFCC Algorithm」 Paper
[5] IBM pytorch-seq2seq
[6] A.I Hub Korean Voice Dataset

License

Copyright (c) 2020 Kai.Lib

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

Open Source Project for Korean End-to-End (E2E) Automatic Speech Recognition (ASR) in Pytorch for Deep Learning Researchers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.0%
  • Shell 3.0%