While its doing decoding it looks the dictionary file specified in training part ($CFG_DICTIONARY), instead of the one specified in decoding part ($DEC_CFG_DICTIONARY).
Because it does "-dict => GetDict()" in psdecode.pl
Is this because authors suggest users to give same dictionary for both training and testing? If yes why? Or its just kinda bug?
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is this because authors suggest users to give same dictionary for both training and testing?
Yes.
If yes why? Or its just kinda bug?
Yes, this common function was introduced when g2p was added it seems.
On the other hand, I don't think it is very useful to have different dictionaries. Dictionary describes the language, why would you convert convert word differently? It is the same word during training and during decoding and it has same phones.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
While its doing decoding it looks the dictionary file specified in training part ($CFG_DICTIONARY), instead of the one specified in decoding part ($DEC_CFG_DICTIONARY).
Because it does "-dict => GetDict()" in psdecode.pl
Is this because authors suggest users to give same dictionary for both training and testing? If yes why? Or its just kinda bug?
Thanks.
Yes.
Yes, this common function was introduced when g2p was added it seems.
On the other hand, I don't think it is very useful to have different dictionaries. Dictionary describes the language, why would you convert convert word differently? It is the same word during training and during decoding and it has same phones.