Lexicon file MS Speech Studio

Steinkrug, Michelle 71 Reputation points
2022-07-05T10:28:39.28+00:00

Good morning,

I´m currently producing audio files with the Text- to-Speech function in MS Speech Studio.

I was wondering, if there is an option to select more text files and assign to them one lexicon file in one step. Currently I need to open each file and select the lexicon for each file separately.

Thanks!

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,391 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,369 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Ramr-msft 17,611 Reputation points
    2022-07-06T12:07:18.337+00:00

    @Steinkrug, Michelle Thanks for the question. Can you try using the Azure blob storage.

    1. Upload the correctly formatted xml File to your azure blob storage
    2. Generate a SAS token and copy the link
    3. url encode the link by replacing '&' with '$amp;' for example
    4. Paste this Link into your <lexicon> elements uri property

  2. Steinkrug, Michelle 71 Reputation points
    2022-07-21T13:43:23.58+00:00

    Hi,

    I´m sorry, but I need a little bit more help. I have created an azure blob storage now and uploaded the lexicon file there.
    Then I created a SAS token and copied the link.

    I have replaced then all & with '$amp;`in the url, but where in the lexicon file do I need to insert this link now?

    This is the head of my lexicon file, that I uploaded in MS Speech Studio:

    <?xml version="1.0" encoding="utf-8"?>
    <lexicon xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/2005/01/pronunciation-lexicon http://www.w3.org/TR/2007/CR-pronunciation-lexicon-20071212/pls.xsd" version="1.0" alphabet="ipa" xml:lang="en-US" xmlns="http://www.w3.org/2005/01/pronunciation-lexicon">
    <lexeme>
    <grapheme>BTW</grapheme>
    <alias>By the way</alias>
    </lexeme>

    Thanks!

    0 comments No comments