Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding extra parameters #27

Closed
rohithkodali opened this issue Sep 21, 2015 · 5 comments
Closed

adding extra parameters #27

rohithkodali opened this issue Sep 21, 2015 · 5 comments

Comments

@rohithkodali
Copy link
Contributor

Hi Tanel,

Is there anyway that we can send some extra parameters using curl
ex: using a particular language model for some specific speakers etc based on some speaker ID and language model name sent to server.

@alumae
Copy link
Owner

alumae commented Sep 21, 2015

Such functionality is not implemented. But it shouldn't be too difficult to add this: the nnet2-based GStreamer plugin allows changing the HCLG.fst on the fly, you just have to hack some python in worker.py and decoder2.py.

I'm afraid it will be very application specific, so I don't really want to add this to the main branch (unless of course you propose a very elegant solution).

@rohithkodali
Copy link
Contributor Author

Is the hclg.fst changing on the fly is added anywhere ?
On 21 Sep 2015 21:52, "Tanel Alumäe" notifications@github.com wrote:

Such functionality is not implemented. But it shouldn't be too difficult
to add this: the nnet2-based GStreamer plugin allows changing the HCLG.fst
on the fly, you just have to hack some python in worker.py and decoder2.py.

I'm afraid it will be very application specific, so I don't really want to
add this to the main branch (unless of course you propose a very elegant
solution).


Reply to this email directly or view it on GitHub
#27 (comment)
.

@alumae
Copy link
Owner

alumae commented Sep 21, 2015

I don't understand your question.

@rohithkodali
Copy link
Contributor Author

In previous mail you mentioned that gstreamer allows to change hclg.fst on
the fly

My question is that is these feature implemented anywhere in code
On 21 Sep 2015 22:31, "Tanel Alumäe" notifications@github.com wrote:

I don't understand your question.


Reply to this email directly or view it on GitHub
#27 (comment)
.

@alumae
Copy link
Owner

alumae commented Sep 21, 2015

The nnet2 GStreamer plugin has a 'fst' property that is currently set once via the conf file. However, you could change this property via python between individual requests.
If you are asking whether there is a sample available on how to do this, then no, I don't think so.

@alumae alumae closed this as completed Aug 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants