Setting

[환경설정] KALDI 설치 (in Ubuntu 16.04)

1code 2021. 11. 26. 20:08
728x90

KALDI 설치

KALDI(칼디)란?? : 음성 인식 및 신호 처리를 위해 C++로 작성된 오픈소스 음성인식 툴킷

저장소 : https://github.com/kaldi-asr/kaldi

 

GitHub - kaldi-asr/kaldi: kaldi-asr/kaldi is the official location of the Kaldi project.

kaldi-asr/kaldi is the official location of the Kaldi project. - GitHub - kaldi-asr/kaldi: kaldi-asr/kaldi is the official location of the Kaldi project.

github.com

홈페이지 : http://kaldi-asr.org/

 

Kaldi ASR

Kaldi's code lives at https://github.com/kaldi-asr/kaldi. To checkout (i.e. clone in the git terminology) the most recent changes, you can use this command git clone https://github.com/kaldi-asr/kaldi or follow the github link and click "Download in zip" o

kaldi-asr.org

 

1. 칼디 설치

  • 칼디를 설치하기 위해서는 우선 GitHub에서 칼디 파일을 가져옵니다.
    • git clone https://github.com/kaldi-asr/kaldi.git
  • INSTALL 파일을 참고해서 설치를 진행하면 된다.
    • Step 1
    • cd tools/
      extras/check_dependencies.sh
      CXX=g++-4.8 extras/check_dependencies.sh
      make
      make CXX=g++-4.8
      make -j 4
    • Step 2
    •   cd src/
        ./configure --shared
        make depend -j 8
        make -j 8
  • tools/ 폴더와 src/ 에서 작업이 다 끝났으면 정상적으로 설치가 되었는지 확인을 해보자
    • yesno Recipe 실행
    • cd egs/yesno/s5
      ./run.sh
    • 실행을 하면 아래와 같이 출력되면 정상적으로 설치가 된거다!!
728x90