Skip to content

Commit

Permalink
Install (#36)
Browse files Browse the repository at this point in the history
* remove conda pynini install

Signed-off-by: Yang Zhang <[email protected]>

* added pynini install note

Signed-off-by: Yang Zhang <[email protected]>

* [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 <[email protected]>

* fix

Signed-off-by: Yang Zhang <[email protected]>

---------

Signed-off-by: Yang Zhang <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
yzhang123 and pre-commit-ci[bot] authored Feb 7, 2023
1 parent 8e23bd8 commit 34350d9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions tutorials/Text_(Inverse)_Normalization.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"metadata": {},
"source": [
"# Overview\n",
"<img src=\"https://raw.githubusercontent.com/NVIDIA/NeMo/main/tutorials/text_processing/images/task_overview.png\" width=\"600\"/>"
"<img src=\"https://raw.githubusercontent.com/NVIDIA/NeMo-text-processing/main/tutorials/images/task_overview.png\" width=\"600\"/>"
]
},
{
Expand Down Expand Up @@ -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"
]
Expand Down Expand Up @@ -355,7 +355,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"<img src=\"https://raw.githubusercontent.com/NVIDIA/NeMo/main/tutorials/text_processing/images/audio_based_tn.png\" width=\"600\"/>"
"<img src=\"https://raw.githubusercontent.com/NVIDIA/NeMo-text-processing/main/tutorials/images/audio_based_tn.png\" width=\"600\"/>"
]
},
{
Expand Down Expand Up @@ -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"
]
},
{
Expand Down
8 changes: 4 additions & 4 deletions tutorials/WFST_Tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
Expand Down Expand Up @@ -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)"
]
},
Expand Down Expand Up @@ -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). "
]
},
{
Expand Down Expand Up @@ -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."
]
}
],
Expand Down

0 comments on commit 34350d9

Please sign in to comment.