From 1a47770d897c84bfcaa3da1c36e5f78d74f0b2eb Mon Sep 17 00:00:00 2001 From: kurianbenoy Date: Tue, 12 Mar 2024 11:57:35 +0530 Subject: [PATCH] display badges in github README --- README.md | 23 ++++++++++++++++++++++- nbs/index.ipynb | 18 +++++++++++++----- 2 files changed, 35 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index e0a7120..216647c 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,27 @@ +> A python package for text standardisation/normalization. It uses +> normalization algorithm mentioned in OpenAI whisper paper. Using +> Whisper normalization can cause issues in Indic languages and other +> low resource languages when using +> [`BasicTextNormalizer`](https://kurianbenoy.github.io/whisper_normalizer/basic.html#basictextnormalizer). +> So normalization in Indic languages is also implemented in this +> package which was derived from +> [indic-nlp-library](https://github.com/anoopkunchukuttan/indic_nlp_library). + +[![Github +license](https://img.shields.io/github/license/kurianbenoy/whisper_normalizer.svg)](https://github.com/kurianbenoy/whisper_normalizer/blob/main/LICENSE) +[![Github +Stars](https://img.shields.io/github/stars/kurianbenoy/whisper_normalizer.svg?colorA=orange&colorB=orange&logo=github)](https://github.com/kurianbenoy/whisper_normalizer/stargazers) +[![PyPI +version](https://img.shields.io/pypi/v/whisper-normalizer.svg?style=flat-square&logo=pypi&logoColor=white)](https://pypi.org/project/whisper-normalizer/) +[![python +version](https://img.shields.io/badge/Python-%3E=3.7-blue)](https://github.com/kurianbenoy/whisper_normalizer) +[![python +version](https://img.shields.io/badge/Python-%3C3.12-blue)](https://github.com/kurianbenoy/whisper_normalizer) +[![Downloads](https://pepy.tech/badge/whisper-normalizer.png)](https://github.com/kurianbenoy/whisper_normalizer) + This package is a python implementation of the text standardisation/normalization approach which is being used in OpenAI whisper. The code was originally being released as open-source in @@ -99,4 +120,4 @@ normalizer = MalayalamNormalizer() normalizer("എന്റെ കമ്പ്യൂട്ടറിനു് എന്റെ ഭാഷ.") ``` - 'എന്റെ കമ്പ്യൂട്ടറിനു് എന്റെ ഭാഷ.' + 'എന്റെ കമ്പ്യൂട്ടറിന് എന്റെ ഭാഷ.' diff --git a/nbs/index.ipynb b/nbs/index.ipynb index 9c2c372..c60cda8 100644 --- a/nbs/index.ipynb +++ b/nbs/index.ipynb @@ -4,13 +4,21 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "# whisper_normalizer\n", + "# whisper_normalizer" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "> A python package for text standardisation/normalization. It uses normalization algorithm mentioned in OpenAI whisper paper. Using Whisper normalization can cause issues in Indic languages and other low resource languages when using `BasicTextNormalizer`. So normalization in Indic languages is also implemented in this package which was derived from [indic-nlp-library](https://github.com/anoopkunchukuttan/indic_nlp_library).\n", "\n", - "> A python package for text standardisation/normalization approach which is being used in OpenAI whisper.\n", "\n", + "[![Github license](https://img.shields.io/github/license/kurianbenoy/whisper_normalizer.svg)](https://github.com/kurianbenoy/whisper_normalizer/blob/main/LICENSE)\n", + "[![Github Stars](https://img.shields.io/github/stars/kurianbenoy/whisper_normalizer.svg?colorA=orange&colorB=orange&logo=github)](https://github.com/kurianbenoy/whisper_normalizer/stargazers)\n", "[![PyPI version](https://img.shields.io/pypi/v/whisper-normalizer.svg?style=flat-square&logo=pypi&logoColor=white)](https://pypi.org/project/whisper-normalizer/)\n", - "[![python version](https://img.shields.io/badge/Python-%3E=3.7-blue)](https://github.com/OpenNyAI/Opennyai)\n", - "[![python version](https://img.shields.io/badge/Python-<3.12-blue)](https://github.com/OpenNyAI/Opennyai)\n", + "[![python version](https://img.shields.io/badge/Python-%3E=3.7-blue)](https://github.com/kurianbenoy/whisper_normalizer)\n", + "[![python version](https://img.shields.io/badge/Python-<3.12-blue)](https://github.com/kurianbenoy/whisper_normalizer)\n", "[![Downloads](https://pepy.tech/badge/whisper-normalizer)](https://github.com/kurianbenoy/whisper_normalizer)" ] }, @@ -147,7 +155,7 @@ { "data": { "text/plain": [ - "'എന്റെ കമ്പ്യൂട്ടറിനു് എന്റെ ഭാഷ.'" + "'എന്റെ കമ്പ്യൂട്ടറിന് എന്റെ ഭാഷ.'" ] }, "execution_count": null,