Questions tagged [kaldi]

Kaldi speech recognition toolkit

Kaldi is a toolkit for speech recognition written in C++ and licensed under the Apache License v2.0. Kaldi is intended for use by speech recognition researchers.

113 questions
1
vote
0 answers

Symbol lookup error (How to link a shared library with another library)

I am running my program on Ubuntu20.04. My program produced the following error when using several Kaldi libraries: symbol lookup error: /home/Documents/xxx/libkaldi-chain.so: undefined symbol: _ZN5kaldi16g_cuda_allocatorE Following the answer…
nebula
  • 11
  • 2
1
vote
0 answers

Python - How to check whether a TCP server is already serving a client

I am using the Kaldi speech recognition toolkit's "online 2-tcp-nnet3-decode-faster". The server receives raw audio and sends the text corresponding to this audio live. In other words, when using such a server, the idea is to start transcribing…
ryuzakinho
  • 1,891
  • 3
  • 21
  • 35
1
vote
1 answer

Extending Kaldi Aspire: bad variable error while Recompiling HCLG.fst using new lexicon and grammar files

I have successfully setup and run the Kaldi Aspire recipe on my WSL. Now i was working on a POC where i want to extend the ASPIRE recipe by making a new corpus, dictionary, language model and merge it with the original HCLG.fst. I followed this blog…
Nitin shukla
  • 57
  • 10
1
vote
0 answers

Sed -e and awk for processing a text file

This code is taking all the .stm file from a directory and after executing this code saving in a file. cat db/some_path/stm/*.stm | sort -k1,1 -k2,2 -k4,4n | \ sed -e 's:::' \ -e 's:::' \ …
Rashed
  • 11
  • 5
1
vote
0 answers

reading .scp file with kaldi_io (python) UnicodeDecodeError

I am trying to read scp file with kaldi_io in python: mypath = r"/Users/Anas/Desktop/Parcours Centrale Lille/G3/Projet d'intégration/Toolbox/LibriSpeech_dev_clean_mfcc/raw_mfcc_dev_clean.1.scp" for key,vec in kaldi_io.read_vec_flt_scp(mypath): …
user12830038
1
vote
1 answer

How can I edit the weights of a GrammarFst?

When you have a standard fst you can load it as a MutableFst and do something like: MutableArcIterator aiter(graph, state_id); aiter.Seek(position) auto arc = aiter.Value(); arc.weight =…
user2886057
  • 646
  • 1
  • 5
  • 15
1
vote
0 answers

Kaldi installation on Majave: Compiler error

I am tryting to install Kaldi, for which I installed relevant things (such as gcc, automakers, autoconf, etc...). However, because of compiling errors, I could not go further... The error message was as follows... (base) C-MacBook-Pro:tools…
NinaJ
  • 33
  • 4
1
vote
1 answer

Zlib not installed in Cygwin - Kaldi

I wanted to install Kaldi in Cygwin environment. I have installed all the necessary dependencies and packages. When I run check_dependencies, I am getting error like, check_dependencies.sh: zlib is not installed ./check_dependencies.sh: The…
1
vote
0 answers

Trouble installling SRILM on mac (Mohave)

In order to use KALDI ASR system I am trying to install SRILM (1.7.2) (Mac computer with Mohave 10.14.2). Apparently everything goes fine during SRILM compilation (make World), but in the end I get various errors when I try to pass the tests in…
Ignacio65
  • 11
  • 1
1
vote
1 answer

Error while loading a shared library when running 'run.sh' in timit/s5 recipe

I am trying to run the kaldi TIMIT/s5 recipe on a remote server. The toolkit is installed and compiled in the server already. The original path where the toolkit is installed and compiled, is a 'read-only' directory where I do not have 'sudo' access…
1
vote
0 answers

Can I implement EdgespeechNets (google) using pytorch-kaldi?

I would like to implement EdgespeechNets , Im wondering if kaldi-pytorch is a good toolkit for that ?
Houssem Bzi
  • 79
  • 2
  • 12
1
vote
1 answer

Can I implement kaldi-pytorch on windows?

kaldi can only be used on windows via VM configuration (fedora 29 for example) , which massively consumes ressources of computations and late working flow . is there any other suitable way to configure and implement kaldi-pytorch on windows10 ?…
Houssem Bzi
  • 79
  • 2
  • 12
1
vote
1 answer

A kaldi function only has header file in C++

I tried to find the definition of a function cblas_Xaxpy in Kaldi, so I was directed by GOTO Definition to the final place cblas-wrappers.h, where I found inline void cblas_Xaxpy(const int N, const float alpha, const float *X, …
exteral
  • 991
  • 2
  • 12
  • 33
1
vote
1 answer

What are the related papers for Kaldi's TDNN and LSTM?

What are the most related papers for the following script in Kaldi. egs/wsj/s5/local/nnet3/run_tdnn_lstm.sh
aban
  • 205
  • 2
  • 12
1
vote
0 answers

Kaldi on Android - Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve project :speechutils:app.?

Trying use a speechRecognition technology, got recommendation for Kaldi but Failed to find no android Studio project solely on this. Hope someone can recommend a android studio project on this. Using this and it has no gradle wrapper? Also after…