Coder Social home page Coder Social logo

Comments (1)

hplusai avatar hplusai commented on August 14, 2024

Hello, yes it's possible. First of all please accept my apologizes for absent of documentation. It is very early steps of final software idea. We are planning to add QA (question/answer) mind (with similar functionality). But if you make it - it will be great! =)
At the current moment OA is using BestHyp function which simply looking for phrase which contains not less than 75% of recognized words (you may tune this percent).
So you may take boot.py (rename it into qa.py) for example and set there some phrases like :
"What is the of":ParseCommand(),
....
then you need to define ParseCommand function which will send this command to google or trying to locate it in the db system.
And last step - minds uses their own lm dictionaries to make recognition process more reliable, it will be lm parameter in mine (lately). but you may change it by yourself or replace this string (or even simply comment it - may help =) )
in stt.py
config.set_string("-lm", ret.lang_file)
to
config.set_string("-lm", your python path + 'Lib\site-packages\pocketsphinx\model\en-us.lm.bin')

i'll make those modification today or tomorrow (to use lm-file parameter from mind).

from openassistant.

Related Issues (2)

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.