How to censor words with Amazon Polly?

0

Hi, I'm trying to put a lexicon in Amazon Polly console in order to censor some stopwords. My .xml file is accepted, but there is no result with the spoken input.

This is my script

<?xml version="1.0" encoding="UTF-8"?>

<lexicon version="1.0" xmlns="http://www.w3.org/2005/01/pronunciation-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" alphabet="ipa" xml:lang="it-IT"> <lexeme> <grapheme>parola uno</grapheme> <alias></alias> </lexeme> <lexeme> <grapheme>parola due</grapheme> <alias></alias> </lexeme> <lexeme> <grapheme>parola tre</grapheme> <alias></alias> </lexeme> <lexeme> <grapheme>parola quattro</grapheme> <alias></alias> </lexeme> </lexicon>


I can't understand the error, Thank you very much if you can help me!

LBajard
質問済み 2年前289ビュー
2回答
0

Hello, are you still having the issue ? How are you calling Polly ?

I just went to the AWS Console, added that lexicon xml you provided, then selected the just created lexicon on the 'Text-to-Speech' page, added a test text in Italian, click on 'Listen' and I heard silence on the words listed on the lexicon

AWS
回答済み 2年前
  • Many thanks, unfortunatly I'm still having the issue both with neural and standard voice.

  • I see. Are you testing Polly through API call ? Could you confirm it's also happening on the Polly page on AWS Console ?

0

Hello, thanks for you answer. Unfortunately I'm still having the issue. The word is normally spoken both with neural and standard voice.

LBajard
回答済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ