|
From: Jan C. <jan...@gm...> - 2014-12-13 20:04:56
|
Hello Dan, thank you for the comments. I tried to make it in the Kaldi spirit, consistency is important. Of course, the scripts can be removed and replaced with some more useful examples. I don't have too much experience with bridging Python to C++, so any critique on the wrappers and the approach taken is welcome. Jan On 12/13/2014 2:55 PM, Daniel Povey wrote: > Hi all. > From a first look, it does look very impressive, and nicely documented. > I would appreciate it if people on the list who have Python experience > would comment on this- you can either reply to this thread, or to me. > I don't know if this has been done in the "natural" way, or if there > is some reason why people in the future will say, "why did you do it > this way, you should have done XXX". > > Jan: > in the scripts/ directory you seem to have some examples of how you > can create python programs that behave very much like Kaldi > command-line programs, using your framework. This is very useful. > However, the programs > apply-global-cmvn.py > compute-global-cmvn-stats.py > are perhaps a little confusing because they provide the same > functionality that you could get with "compute-cmvn-stats -> > matrix-sum" and "apply-cmvn" on the output of that command; and they > do so using different formats for the CMVN information. I know the > format of storing the CMVN stats in a two-row matrix is perhaps not > perfectly ideal, but it's a standard within Kaldi and it would be > confusing to deviate from that standard. > Of course, this is a very minor issue that doesn't affect the validity > of the framework as a whole. I am just pointing this out; the main > discussion should be about the framework and whether people feel it's > the "right" way to do this. > > Dan > > On Sat, Dec 13, 2014 at 6:28 AM, Jan Chorowski <jan...@gm...> wrote: >> Hi all! >> >> I've written wrappers to access Kaldi data files from within Python >> using boost::python (the code is on github >> https://github.com/janchorowski/kaldi-git/tree/python/src/python). If >> you think this would be an interesting addition please instruct me how >> to contribute. >> >> Best Regards, >> Jan Chorowski >> >> >> ------------------------------------------------------------------------------ >> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >> with Interactivity, Sharing, Native Excel Exports, App Integration & more >> Get technology previously reserved for billion-dollar corporations, FREE >> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk >> _______________________________________________ >> Kaldi-developers mailing list >> Kal...@li... >> https://lists.sourceforge.net/lists/listinfo/kaldi-developers |