Hi,
I'm newbie to sphinx, and I build my own .dic and .lm file using lmtools and ...
but I don't know how to configure sphinx2 to use my .dic and .lm file.
and also I don't know how to use Sphinx2 in my own Code.
Could you please help me with them?
an example of using sphinx2 in a source code would be appropriate.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You need a argument file. This argument file is needed by fbs_init(argc, argv)
Argv can be the path of your argument file.
In your argument file, you should add
-lmfn xxxxxx //path and file name of you lm file
-dictfn xxxxx //path and file name of you lm file
And you need add many other arguments in it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'm newbie to sphinx, and I build my own .dic and .lm file using lmtools and ...
but I don't know how to configure sphinx2 to use my .dic and .lm file.
and also I don't know how to use Sphinx2 in my own Code.
Could you please help me with them?
an example of using sphinx2 in a source code would be appropriate.
can you explain me more about using sphinx in my code.
and example source file could help me more.
Where is fbs_init(...) ?
and how should I use it?
Bests,
Amin Yazdani
I'm new to sphinx to, but I suggest you reading some example codes of sphinx2.
It's in src/examples of sphinx2 source code tree.
You need a argument file. This argument file is needed by fbs_init(argc, argv)
Argv can be the path of your argument file.
In your argument file, you should add
-lmfn xxxxxx //path and file name of you lm file
-dictfn xxxxx //path and file name of you lm file
And you need add many other arguments in it.