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

Mapping phonemes to the corresponding graphemes #86

Closed
MahirEusufzai opened this issue Jun 22, 2017 · 2 comments
Closed

Mapping phonemes to the corresponding graphemes #86

MahirEusufzai opened this issue Jun 22, 2017 · 2 comments

Comments

@MahirEusufzai
Copy link

Is it feasible to show which phonemes represent which segment of each word?

For example, instead of the output being

tensorflow
T EH N S AO R F L OW

it would be

tensorflow
t - T
e - EH
n - N
s - S
o - AO
r - R
f - F
l - L
ow - OW

@nshmyrev
Copy link
Contributor

There is no exact mapping in seq2seq, but there are attention weights which are shifting from start to end, by learning the weights you can see what phoneme was derived from which chunk of the input string. One has to modify the seq2seq code to retrieve them though, see for details:

https://stackoverflow.com/questions/40601552/visualizing-attention-activation-in-tensorflow

@nshmyrev
Copy link
Contributor

See also tensorflow/tensorflow#1668

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants