Comments (5)
Hmm, I'm not sure this would be easy to implement on my side. As far as I can see from the code Kaldi implements weight as a parameter on grammars and rules. For CCR commands Breathe doesn't really deal in rules, instead every command becomes an (Compound) element which is then wrapped in an Alternative and a Repetition to make a single rule.
If if it was going to be implemented in breathe the internals would probably need to be re-factored so that each call to add_commands
creates its own rule, and then CCR is built out of RuleRefs to those. Not necessarily a huge change, though I have somewhat limited time at the moment.
@daanzu may have more thoughts or a smarter way of going about it.
from breathe.
I think Elements should support weights. If they don't currently, it is an oversight on my part, and I would intend to fix it. I'll try to take a look. Feel free to ping me.
from breathe.
You're right, it does look from the code like weights can be set on elements. I'll try to make a first pass at implementing something this weekend.
from breathe.
Cool, let me know of anything.
from breathe.
Okay @droundy #6 adds basic support for weights on command groups. Please update, test and let me know if it seems to be working as I only have kaldi set up on work VMs at the moment 🙃
from breathe.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from breathe.