-
Notifications
You must be signed in to change notification settings - Fork 144
Add Hindi Address Semiotic Class ITN #384
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
RajanPutty
wants to merge
2
commits into
NVIDIA:staging/hi_itn_v2
Choose a base branch
from
RajanPutty:staging/hi_itn_v2
base: staging/hi_itn_v2
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
nemo_text_processing/inverse_text_normalization/hi/data/address/__init__.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| # Copyright (c) 2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| # you may not use this file except in compliance with the License. | ||
| # You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
10 changes: 10 additions & 0 deletions
10
nemo_text_processing/inverse_text_normalization/hi/data/address/address_separators.tsv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| - हाइफ़न | ||
| - हाइफ़न | ||
| - हाइफन | ||
| - हायफन | ||
| - डैश | ||
| / बटा | ||
| / स्लैश | ||
| / बाय | ||
| , कॉमा | ||
| , अल्पविराम |
21 changes: 21 additions & 0 deletions
21
nemo_text_processing/inverse_text_normalization/hi/data/address/alpha_to_upper.tsv
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is this different than the lines in address/letters? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| A ए | ||
| B बी | ||
| D डी | ||
| F एफ | ||
| G जी | ||
| H एच | ||
| J जे | ||
| K के | ||
| M एम | ||
| N एन | ||
| P पी | ||
| Q क्यू | ||
| R आर | ||
| S एस | ||
| T टी | ||
| U यू | ||
| V वी | ||
| W डब्ल्यू | ||
| X एक्स | ||
| Y वाई | ||
| Z ज़ेड |
182 changes: 182 additions & 0 deletions
182
nemo_text_processing/inverse_text_normalization/hi/data/address/context_cues.tsv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,182 @@ | ||
| रोड | ||
| स्ट्रीट | ||
| मार्ग | ||
| नगर | ||
| पुरम | ||
| गली | ||
| कॉलोनी | ||
| सेक्टर | ||
| ब्लॉक | ||
| मंजिल | ||
| तल | ||
| फ्लोर | ||
| फ्लैट | ||
| अपार्टमेंट | ||
| भवन | ||
| मॉल | ||
| प्लाज़ा | ||
| स्क्वेर | ||
| सर्कल | ||
| पार्क | ||
| पार्कवे | ||
| बाईपास | ||
| ड्राइव | ||
| एवेन्यू | ||
| हाइवे | ||
| राजमार्ग | ||
| क्रॉस | ||
| क्रॉसिंग | ||
| कॉम्प्लेक्स | ||
| टावर | ||
| शॉप | ||
| यूनिट | ||
| फीट | ||
| पिन | ||
| पिन कोड | ||
| कोड | ||
| बॉक्स | ||
| पोस्ट | ||
| ऑफिस | ||
| काउंटी | ||
| ग्राम | ||
| गांव | ||
| शहर | ||
| मार्केट | ||
| हाउस | ||
| होटल | ||
| रेजिडेंसी | ||
| लेन | ||
| प्लॉट | ||
| बूथ | ||
| स्कूल | ||
| Road | ||
| Street | ||
| Lane | ||
| Avenue | ||
| Drive | ||
| Highway | ||
| Parkway | ||
| Square | ||
| Circle | ||
| Market | ||
| Tower | ||
| Mall | ||
| Complex | ||
| Building | ||
| Apartment | ||
| Residency | ||
| Block | ||
| Sector | ||
| Unit | ||
| Shop | ||
| Floor | ||
| Plaza | ||
| House | ||
| Plot | ||
| Booth | ||
| Pincode | ||
| गली नंबर | ||
| फ्लैट नंबर | ||
| रोड नंबर | ||
| स्ट्रीट नंबर | ||
| प्लॉट नंबर | ||
| हाउस नंबर | ||
| घर नंबर | ||
| कमरा नंबर | ||
| दुकान नंबर | ||
| शॉप नंबर | ||
| बूथ नंबर | ||
| यूनिट नंबर | ||
| ब्लॉक नंबर | ||
| सेक्टर नंबर | ||
| फ्लोर नंबर | ||
| मंजिल नंबर | ||
| फेज नंबर | ||
| विंग नंबर | ||
| टावर नंबर | ||
| भवन नंबर | ||
| मकान नंबर | ||
| Flat No | ||
| House No | ||
| Shop No | ||
| Plot No | ||
| Block No | ||
| Unit No | ||
| Room No | ||
| फेज | ||
| Phase | ||
| स्टेज | ||
| Stage | ||
| सड़क | ||
| मुख्य | ||
| मेन | ||
| Main | ||
| प्लेस | ||
| Place | ||
| पुरी | ||
| विहार | ||
| बाजार | ||
| Bazar | ||
| एक्सटेंशन | ||
| Extension | ||
| रिंग | ||
| Ring | ||
| लिंक | ||
| Link | ||
| सर्विस | ||
| Service | ||
| रूट | ||
| Route | ||
| थ्रूवे | ||
| Thruway | ||
| टर्नपाइक | ||
| Turnpike | ||
| बोलवार्ड | ||
| Boulevard | ||
| हिल | ||
| Hill | ||
| कोव | ||
| Cove | ||
| चित्तूर | ||
| मुंबई | ||
| दिल्ली | ||
| अजमेर | ||
| अमरपुर | ||
| अकोला | ||
| चंबा | ||
| अलांग | ||
| विस्तारण | ||
| बचेली | ||
| मोकोकचुंग | ||
| अहमदनगर | ||
| अखनूर | ||
| फतेहपुर | ||
| देवगढ़ | ||
| देवास | ||
| पाकाला | ||
| अहमदाबाद | ||
| अमरोहा | ||
| खडगपुर | ||
| अलीगढ | ||
| चित्रदुर्ग | ||
| अनन्तपुर | ||
| चिरमिरी | ||
| देहरा | ||
| फतेहगढ | ||
| आदिलाबाद | ||
| चित्रकूट | ||
| बहादुरगंज | ||
| मोतिहारी | ||
| बहादुरगढ | ||
| अम्बाजी | ||
| लखनऊ | ||
| दालखोला | ||
| धारवाड | ||
| मोकामा | ||
| चिराला | ||
| असम | ||
| भागलपुर | ||
| रानीताल | ||
| जिलोंपर | ||
| कुण्डा | ||
| हैदराबाद |
38 changes: 38 additions & 0 deletions
38
nemo_text_processing/inverse_text_normalization/hi/data/address/english_numbers.tsv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| ones 0 ज़ीरो | ||
| ones 0 जीरो | ||
| ones 0 ज़ीरो | ||
| ones 1 वन | ||
| ones 2 टू | ||
| ones 2 तव | ||
| ones 3 थ्री | ||
| ones 4 फोर | ||
| ones 5 फाइव | ||
| ones 6 सिक्स | ||
| ones 7 सेवेन | ||
| ones 8 एट | ||
| ones 8 ऐट | ||
| ones 9 नाइन | ||
| teens 10 टेन | ||
| teens 11 इलेवन | ||
| teens 12 ट्वेल्व | ||
| teens 13 थर्टीन | ||
| teens 14 फॉर्टीन | ||
| teens 15 फिफ्टीन | ||
| teens 16 सिक्सटीन | ||
| teens 17 सेवन्टीन | ||
| teens 18 एटीन | ||
| teens 19 नाइनटीन | ||
| tens 20 ट्वेंटी | ||
| tens 30 थर्टी | ||
| tens 40 फॉर्टी | ||
| tens 50 फिफ्टी | ||
| tens 50 फ़िफ़्टी | ||
| tens 60 सिक्सटी | ||
| tens 60 सिक्स्टी | ||
| tens 70 सेवेंटी | ||
| tens 70 सेवेन्टी | ||
| tens 80 एटी | ||
| tens 90 नाइंटी | ||
| tens 90 नाइन्टी | ||
| filler hundred हंड्रेड | ||
| filler thousand थाउजेंड |
16 changes: 16 additions & 0 deletions
16
nemo_text_processing/inverse_text_normalization/hi/data/address/english_ordinals.tsv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| १st फर्स्ट | ||
| १st फ़र्स्ट | ||
| २nd सेकेंड | ||
| २nd सेकंड | ||
| ३rd थर्ड | ||
| ४th फ़ोर्थ | ||
| ४th फोर्थ | ||
| ४th फ़ोर्थ | ||
| ५th फिफ्थ | ||
| ६th सिक्स्थ | ||
| ७th सेवेंथ | ||
| ७th सेवेन्थ | ||
| ८th एट्थ | ||
| ९th नाइंथ | ||
| १०th टेंथ | ||
| १३th थर्टीन्थ |
9 changes: 9 additions & 0 deletions
9
nemo_text_processing/inverse_text_normalization/hi/data/address/hindi_ordinals.tsv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| वाँ वाँ | ||
| वां वां | ||
| वीं वीं | ||
| वी वी | ||
| वें वें | ||
| वे वे | ||
| री री | ||
| रा रा | ||
| रे रे |
52 changes: 52 additions & 0 deletions
52
nemo_text_processing/inverse_text_normalization/hi/data/address/letters.tsv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| ए A | ||
| बी B | ||
| सी C | ||
| डी D | ||
| ई E | ||
| ऍफ़ F | ||
| जी G | ||
| एच H | ||
| आई I | ||
| जे J | ||
| के K | ||
| एल L | ||
| ऍम M | ||
| ऍन N | ||
| ओ O | ||
| पी P | ||
| क्यू Q | ||
| आर R | ||
| ऍस S | ||
| टी T | ||
| यू U | ||
| वी V | ||
| डब्ल्यू W | ||
| ऍक्स X | ||
| वाई Y | ||
| ज़ेड Z | ||
| a A | ||
| b B | ||
| c C | ||
| d D | ||
| e E | ||
| f F | ||
| g G | ||
| h H | ||
| i I | ||
| j J | ||
| k K | ||
| l L | ||
| m M | ||
| n N | ||
| o O | ||
| p P | ||
| q Q | ||
| r R | ||
| s S | ||
| t T | ||
| u U | ||
| v V | ||
| w W | ||
| x X | ||
| y Y | ||
| z Z |
22 changes: 22 additions & 0 deletions
22
nemo_text_processing/inverse_text_normalization/hi/data/address/ordinal_exceptions.tsv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| पहला १ | ||
| दूसरा २ | ||
| तीसरा ३ | ||
| चौथा ४ | ||
| पांचवां ५वां | ||
| छठा ६ | ||
| सातवां ७वां | ||
| आठवां ८वां | ||
| नौवां ९वां | ||
| दसवां १०वां | ||
| पहली १ | ||
| दूसरी २ | ||
| तीसरी ३ | ||
| चौथी ४ | ||
| पांचवीं ५वीं | ||
| छठी ६ | ||
| सातवीं ७वीं | ||
| आठवीं ८वीं | ||
| नौवीं ९वीं | ||
| दसवीं १०वीं | ||
| तेरहवीं १३वीं | ||
| बाईसवें २२वें |
7 changes: 7 additions & 0 deletions
7
nemo_text_processing/inverse_text_normalization/hi/data/address/ordinal_suffixes.tsv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| st st | ||
| nd nd | ||
| rd rd | ||
| th th | ||
| वीं वीं | ||
| वां वां | ||
| वें वें |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2026