Comments (6)
Currently there is no way to obtain lattices and I have no plans to implement this.
from kaldi-gstreamer-server.
That's okay I figured it out. Thank you for your reply though.
from kaldi-gstreamer-server.
hi @calderma are you able to do it?
from kaldi-gstreamer-server.
yes it's only about 5 lines of code to obtain the final lattice after the decoding has finished. I ended up implementing some code that allows keyword searching during the streaming decoding as well so it does the kws on the fly when each "piece" of the lattice is processed.
from kaldi-gstreamer-server.
To clarify, the short code snippet that i used was fairly specific to what I am using it for. I don't have the code in front of me at the moment but I believe it was the "WriteCompactLattice" method in kaldi that i used. I just inserted that into the gst_kaldinnet2onlinedecoder_final_result method in the gstkaldinnet2onlinedecoder.cc file. In order to do it so that it would generalize it would require more coding.
from kaldi-gstreamer-server.
@calderma , if it's still possible, could you share the exact code? I've seen that you have the fork of the gst-kaldi-nnet2-online repository, yet not made any changes into it.
Thanks in advance!
from kaldi-gstreamer-server.
Related Issues (20)
- python kaldigstserver/client.py -r 32000 test/data/english_test.raw gives only THE. as output
- single word audio file gives multiple results, how to choose the correct result? HOT 1
- gstkaldinnet2onlinedecoder vs online2-tcp-nnet3-decoder-faster HOT 7
- The pretrained Chinese model can not process audio file with 48khz sample rate HOT 1
- Error switching between Audio types
- Error when running python kaldigstserver/worker.py on sample chinese HOT 1
- How to get phone alignment and word alignment information
- decoder with CSJ -> worker: segmentation fault (core dumped) HOT 2
- Enable Multiple channels listening HOT 1
- setting up the server for http api call HOT 2
- INTEL MKL ERROR: /opt/intel/mkl/lib/intel64/libmkl_avx2.so: undefined symbol: mkl_sparse_optimize_bsr_trsm_i8. Intel MKL FATAL ERROR: Cannot load libmkl_avx2.so or libmkl_def.so. HOT 2
- server can not get EOS HOT 1
- when I run it in doocker and use the chinese model ,it have this question :2021-04-16 05:52:17 - INFO: __main__: 7404beee-0d39-4d67-963c-01c58da10193: Waiting for EOS from decoder 2021-04-16 05:52:18 - INFO: __main__: 7404beee-0d39-4d67-963c-01c58da10193: Waiting for EOS from decoder HOT 2
- How to run multiple models in a single machine
- How can I save the incoming audio stream to wav file ?
- Invalid parameters supplied to OnlineLdaInput
- cannot download tedlium_nnet_ms_sp_online.tgz HOT 3
- worker process killed when worker replications reach to 3
- Poor performance with nnet3 TDNN-F model
- Any updates of year 2023???
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kaldi-gstreamer-server.