Skip to content

Riva expects TTS G2P dictionary to be uppercased while NeMo doesn't #34

@sch0ngut

Description

@sch0ngut

I have trained a FastPitch model with a custom dictionary that has entries of the following format:

grapheme    phoneme
Feedback    ˈfiːtbɛk
italienische    ˌiˑtalˈi̯eːnɪʃə

The trained NeMo model picks up the entries from the dictionary properly but once deployed to Riva this is not the case anymore. I figured out that this happens because Riva expects the dictionary entries to be all uppercased. Hence a workaround is to manually uppercase all left hand side entries of the dictionary file and pass the updated dictionary via --phone_dictionary_file during riva-build.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions