Menu

Decoding Dictionary Path

Help
2020-01-10
2020-01-10
  • Tolga Ozturk

    Tolga Ozturk - 2020-01-10

    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.

     
    • Nickolay V. Shmyrev

      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.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.