-
Notifications
You must be signed in to change notification settings - Fork 208
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
Introduces a speechgenerator pool #1040
Conversation
@dpvc I've made the changes as discussed today. PTAL. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've made some comments about some minor issues. See what you think.
Incorporated the review suggestions. PTAL. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
PR introduces a
GeneratorPool
data structure thatThis makes the speech computation considerably cleaner. In particular there is no longer speech computation in the semantic enrichment method. Speech can be computed if the
speech="deep"
option is set.All Speech is now computed in the
attachSpeech
method, where originally only thearia-label
was set.Since the
attachSpeech
state is called after rerender, this also takes care of computing speech for the collapsed elements etc.Another side effect is that we no longer use the walkers provided by SRE, which makes syncing a lot easier. At the moment only the walking and summary functionality is ported. The rest will be ported in a subsequent PR.
Note: Currently only works with SRE branch
new_explorer_changes
. I'll try to merge that asap.