From 34350d981808b50e3694f9772f95b857a96c439e Mon Sep 17 00:00:00 2001 From: Yang Zhang Date: Tue, 7 Feb 2023 15:09:05 -0500 Subject: [PATCH] Install (#36) * remove conda pynini install Signed-off-by: Yang Zhang * added pynini install note Signed-off-by: Yang Zhang * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix text Signed-off-by: Yang Zhang * fix Signed-off-by: Yang Zhang --------- Signed-off-by: Yang Zhang Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- tutorials/Text_(Inverse)_Normalization.ipynb | 8 ++++---- tutorials/WFST_Tutorial.ipynb | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tutorials/Text_(Inverse)_Normalization.ipynb b/tutorials/Text_(Inverse)_Normalization.ipynb index 425b28f40..9aea8317c 100644 --- a/tutorials/Text_(Inverse)_Normalization.ipynb +++ b/tutorials/Text_(Inverse)_Normalization.ipynb @@ -31,7 +31,7 @@ "metadata": {}, "source": [ "# Overview\n", - "" + "" ] }, { @@ -59,7 +59,7 @@ "metadata": {}, "outputs": [], "source": [ - "## Install NeMo, which installs both nemo and nemo_text_processing package\n", + "## Install NeMo-text-processing\n", "BRANCH = 'main'\n", "!python -m pip install git+https://github.com/NVIDIA/NeMo-text-processing.git@$BRANCH#egg=nemo_text_processing" ] @@ -355,7 +355,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "" + "" ] }, { @@ -411,7 +411,7 @@ "source": [ "# Tutorial on how to customize grammars\n", "\n", - "https://colab.research.google.com/github/NVIDIA/NeMo/blob/stable/tutorials/text_processing/WFST_Tutorial.ipynb\n" + "https://colab.research.google.com/github/NVIDIA/NeMo-text-processing/blob/main/tutorials/WFST_Tutorial.ipynb\n" ] }, { diff --git a/tutorials/WFST_Tutorial.ipynb b/tutorials/WFST_Tutorial.ipynb index 8695115d6..5b1c0530e 100644 --- a/tutorials/WFST_Tutorial.ipynb +++ b/tutorials/WFST_Tutorial.ipynb @@ -38,7 +38,7 @@ "metadata": {}, "outputs": [], "source": [ - "## Install NeMo, which installs both nemo and nemo_text_processing package\n", + "## Install NeMo-text-processing\n", "BRANCH = 'main'\n", "!python -m pip install git+https://github.com/NVIDIA/NeMo-text-processing.git@$BRANCH#egg=nemo_text_processing" ] @@ -359,7 +359,7 @@ "- [Y. Zhang, E. Bakhturina, K. Gorman, and B. Ginsburg, \"NeMo Inverse Text Normalization: From Development To Production\"](https://arxiv.org/pdf/2104.05055.pdf)\n", "- [NeMo's Text Normalization Documentation](https://docs.nvidia.com/deeplearning/nemo/user-guide/docs/en/stable/nlp/text_normalization/wfst/intro.html) \n", "- [NeMo's Text Normalization Deployment Documentation](https://docs.nvidia.com/deeplearning/nemo/user-guide/docs/en/stable/nlp/text_normalization/wfst/wfst_text_processing_deployment.html)\n", - "- NeMo's [Text Normalization Introduction Tutorial](https://colab.research.google.com/github/NVIDIA/NeMo/blob/stable/tutorials/text_processing/Text_Normalization.ipynb)\n", + "- NeMo's [Text Normalization Introduction Tutorial](https://colab.research.google.com/github/NVIDIA/NeMo-text-processing/blob/main/tutorials/Text_(Inverse)_Normalization.ipynb)\n", "- [Sparrowhawk Documentation](https://github.com/google/sparrowhawk)" ] }, @@ -6887,7 +6887,7 @@ "id": "VrSccoh9K6JK" }, "source": [ - "Now that we have done all the groundwork, we can finally move to deployment. This final section will just cover the minor code alterations required to call your language through NeMo ITN and deploy through Sparrowhawk. For further information on using NeMo ITN, please see [this tutorial](https://colab.research.google.com/github/NVIDIA/NeMo/blob/stable/tutorials/text_processing/Inverse_(Text)_Normalization.ipynb). " + "Now that we have done all the groundwork, we can finally move to deployment. This final section will just cover the minor code alterations required to call your language through NeMo ITN and deploy through Sparrowhawk. For further information on using NeMo ITN, please see [this tutorial](https://colab.research.google.com/github/NVIDIA/NeMo-text-processing/blob/main/tutorials/Text_(Inverse)_Normalization.ipynb). " ] }, { @@ -7013,7 +7013,7 @@ "\n", "For Audio-based non-deterministic text normalization please extend your grammars with additional output options for ambiguous options. Every semiotic class has a input flag `deterministic` which is by default set to True. For non-deterministic text normalization add additional grammar for the case `deterministic=False` \n", "\n", - "We also recommend to look at the source of some of the existing [languages](https://docs.nvidia.com/deeplearning/nemo/user-guide/docs/en/stable/nlp/text_normalization/wfst/wfst_text_normalization.html#language-support), in particular English: https://github.com/NVIDIA/NeMo/tree/main/nemo_text_processing/inverse_text_normalization/en." + "We also recommend to look at the source of some of the existing [languages](https://docs.nvidia.com/deeplearning/nemo/user-guide/docs/en/stable/nlp/text_normalization/wfst/wfst_text_normalization.html#language-support), in particular English: https://github.com/NVIDIA/NeMo-text-processing/tree/main/nemo_text_processing/inverse_text_normalization/en." ] } ],