From d42622cbcefc1ac78411f09c0f83e493ac9d750b Mon Sep 17 00:00:00 2001 From: Siddharth Tyagi Date: Mon, 8 May 2023 15:24:35 +0530 Subject: [PATCH] Updated G2p import --- tts-phoneme-distribution.ipynb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tts-phoneme-distribution.ipynb b/tts-phoneme-distribution.ipynb index 07a8432c..1bc5a831 100644 --- a/tts-phoneme-distribution.ipynb +++ b/tts-phoneme-distribution.ipynb @@ -1,7 +1,6 @@ { "cells": [ { - "attachments": {}, "cell_type": "markdown", "id": "4d21f599", "metadata": {}, @@ -46,7 +45,7 @@ "import pprint\n", "import json\n", "# import nemo g2p class for grapheme to phoneme\n", - "from nemo_text_processing.g2p.modules import EnglishG2p\n", + "from nemo.collections.tts.g2p.models.en_us_arpabet import EnglishG2p\n", "\n", "# Bokeh\n", "from bokeh.io import output_notebook, show\n", @@ -117,7 +116,7 @@ "id": "931481fb", "metadata": {}, "source": [ - "We will use [NeMo grapheme to phoneme](https://docs.nvidia.com/deeplearning/nemo/user-guide/docs/en/stable/text_processing/g2p/g2p.html) to convert words to phonemes. \n", + "We will use [NeMo grapheme to phoneme](https://docs.nvidia.com/deeplearning/nemo/user-guide/docs/en/stable/tts/g2p.html) to convert words to phonemes. \n", "List all the phonemes in g2p dict" ] },