Skip to content

Commit

Permalink
fixes #503 - Lex rebuild fails when there is any single character utt…
Browse files Browse the repository at this point in the history
…erance
  • Loading branch information
rstrahan committed Oct 6, 2022
1 parent 9d0368e commit 9116d4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lambda/lexv2-build/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def translate_text(localeId, text):
translatedText = text
else:
print(f"Utterance {text} too short to translate - using original.")
translatedUtterance = text
translatedText = text
print(f"Translated utterance: {text} -> {translatedText}")
return translatedText

Expand Down

0 comments on commit 9116d4c

Please sign in to comment.