Git Product home page Git Product logo

Comments (6)

alumae avatar alumae commented on August 19, 2024

Currently there is no way to obtain lattices and I have no plans to implement this.

from kaldi-gstreamer-server.

calderma avatar calderma commented on August 19, 2024

That's okay I figured it out. Thank you for your reply though.

from kaldi-gstreamer-server.

rohithkodali avatar rohithkodali commented on August 19, 2024

hi @calderma are you able to do it?

from kaldi-gstreamer-server.

calderma avatar calderma commented on August 19, 2024

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.

calderma avatar calderma commented on August 19, 2024

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.

psukys avatar psukys commented on August 19, 2024

@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)

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.