Commit edd2288
Staging vi tn to main (#338)
* PR: Add Vietnamese text normalization for cardinal semiotic class (#289)
* Add Vietnamese text normalization for cardinal semiotic class
Signed-off-by: folivoramanh <[email protected]>
* Add missing init file
Signed-off-by: folivoramanh <[email protected]>
* Fix Cardinal and optimize logic
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Signed-off-by: folivoramanh <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Mariana Graterol Fuenmayor <[email protected]>
* Ordinal and Decimal for Vietnamese TN (#290)
* Add Vietnamese text normalization for ordinal and decimal semiotic classes
Signed-off-by: folivoramanh <[email protected]>
* update sparrowhawk
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* refractor decimal code and docstring
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Signed-off-by: folivoramanh <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Mariana Graterol Fuenmayor <[email protected]>
* Vietnamese TN - Fraction (#296)
* Fraction class for Vietnamese TN
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Remove irrelavant test case
Signed-off-by: folivoramanh <[email protected]>
* Remove irrelavant test case
Signed-off-by: folivoramanh <[email protected]>
---------
Signed-off-by: folivoramanh <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Mariana Graterol Fuenmayor <[email protected]>
* Date Semiotic Class for Vietnamese TN (#298)
* Date for vietnamese TN
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Add roman support and correct copyright header
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* change header to current year
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* change header time
Signed-off-by: folivoramanh <[email protected]>
---------
Signed-off-by: folivoramanh <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Mariana Graterol Fuenmayor <[email protected]>
* Time - semiotic class for Vietnamese TN (#302)
* Time - semiotic class for Vietnamese TN
Signed-off-by: folivoramanh <[email protected]>
* remove irrelevant import and comment
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* add comment and refractor pattern
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Change the spaces to NEMO_SPACE for maintenance.
Signed-off-by: folivoramanh <[email protected]>
* Change the spaces to NEMO_SPACE for maintenance.
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Change the spaces to NEMO_SPACE for maintenance. - remove quote
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Signed-off-by: folivoramanh <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Mariana Graterol Fuenmayor <[email protected]>
* Add Vietnamese TN support for Money and Range semiotic classes (#304)
* Add Vietnamese TN support for Money and Range semiotic classes
- Add money.py tagger and verbalizer for Vietnamese currency handling
- Add range.py tagger for numerical range processing
- Add supporting data files for money (currency, currency_minor, per_unit)
- Add quantity abbreviations and time units data
- Update existing taggers and verbalizers for integration
- Add comprehensive test cases for money and range functionality
- Update tokenize_and_classify to include new semiotic classes
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* modify illogical test cases
Signed-off-by: folivoramanh <[email protected]>
* refractor and simplify word and punctuation to avoid hardcoding
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* refractor code money range
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Signed-off-by: folivoramanh <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Mariana Graterol Fuenmayor <[email protected]>
* Add Vietnamese measure text normalization support (#307)
* Add Vietnamese measure text normalization support
- Added measure tagger and verbalizer for Vietnamese TN
- Updated money tagger and verbalizer to handle per-unit measurements
- Added test cases for measure normalization
- Updated fraction handling for better integration
- Added data files for measurements, prefixes, and per-unit bases
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Signed-off-by: folivoramanh <[email protected]>
* add test case for range measure
Signed-off-by: folivoramanh <[email protected]>
* additional support for cardinal and remove duplicate test case
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* refractor cardinal and add test cases
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* remove duplicate lines in run_eval file
Signed-off-by: folivoramanh <[email protected]>
* refractor minor code
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* add measure support for unit per unit cases
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Signed-off-by: folivoramanh <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Mariana Graterol Fuenmayor <[email protected]>
* Vietnamese MRC 1.0 fix case (#312)
* fix and add cases
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Signed-off-by: folivoramanh <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Mariana Graterol Fuenmayor <[email protected]>
* Fix Jenkinsfile for CI (#325) (#327)
* Fix Jenkinsfile for CI
* Fix requirements for test
* Update paths and docker
* Fix docker name
* Fix click version
* Change path of grammars for sparrowhawk tests
* Update paths in sh_test.sh
* Update paths
* Revert paths
---------
Signed-off-by: Anand Joseph <[email protected]>
Signed-off-by: folivoramanh <[email protected]>
Co-authored-by: anand-nv <[email protected]>
Signed-off-by: Mariana Graterol Fuenmayor <[email protected]>
* Fix word range (#334)
* fix range and quote
Signed-off-by: folivoramanh <[email protected]>
* fix quote in post process
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fix quote and range
Signed-off-by: folivoramanh <[email protected]>
---------
Signed-off-by: folivoramanh <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Mariana Graterol Fuenmayor <[email protected]>
* Date time itn (#333)
* improve numeric semiotic classes
Signed-off-by: folivoramanh <[email protected]>
* Fix Jenkinsfile for CI (#325)
* Fix Jenkinsfile for CI
Signed-off-by: Anand Joseph <[email protected]>
* Fix requirements for test
Signed-off-by: Anand Joseph <[email protected]>
* Update paths and docker
Signed-off-by: Anand Joseph <[email protected]>
* Fix docker name
Signed-off-by: Anand Joseph <[email protected]>
* Fix click version
Signed-off-by: Anand Joseph <[email protected]>
* Change path of grammars for sparrowhawk tests
Signed-off-by: Anand Joseph <[email protected]>
* Update paths in sh_test.sh
Signed-off-by: Anand Joseph <[email protected]>
* Update paths
Signed-off-by: Anand Joseph <[email protected]>
* Revert paths
Signed-off-by: Anand Joseph <[email protected]>
---------
Signed-off-by: Anand Joseph <[email protected]>
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Signed-off-by: folivoramanh <[email protected]>
* revert old codes
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* revert not inherit
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* improve date time
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fix pynini union instead of union operator
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* improve measure, telephone, electronic
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* change union operator to pynini union
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Signed-off-by: folivoramanh <[email protected]>
Signed-off-by: Anand Joseph <[email protected]>
Co-authored-by: anand-nv <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Mariana Graterol Fuenmayor <[email protected]>
* Staging vi tn signed off (#339)
* Fix Jenkinsfile for CI (#325)
* Fix Jenkinsfile for CI
Signed-off-by: Anand Joseph <[email protected]>
* Fix requirements for test
Signed-off-by: Anand Joseph <[email protected]>
* Update paths and docker
Signed-off-by: Anand Joseph <[email protected]>
* Fix docker name
Signed-off-by: Anand Joseph <[email protected]>
* Fix click version
Signed-off-by: Anand Joseph <[email protected]>
* Change path of grammars for sparrowhawk tests
Signed-off-by: Anand Joseph <[email protected]>
* Update paths in sh_test.sh
Signed-off-by: Anand Joseph <[email protected]>
* Update paths
Signed-off-by: Anand Joseph <[email protected]>
* Revert paths
Signed-off-by: Anand Joseph <[email protected]>
---------
Signed-off-by: Anand Joseph <[email protected]>
Signed-off-by: folivoramanh <[email protected]>
* PR: Add Vietnamese text normalization for cardinal semiotic class (#289)
* Add Vietnamese text normalization for cardinal semiotic class
Signed-off-by: folivoramanh <[email protected]>
* Add missing init file
Signed-off-by: folivoramanh <[email protected]>
* Fix Cardinal and optimize logic
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Signed-off-by: folivoramanh <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: folivoramanh <[email protected]>
* Ordinal and Decimal for Vietnamese TN (#290)
* Add Vietnamese text normalization for ordinal and decimal semiotic classes
Signed-off-by: folivoramanh <[email protected]>
* update sparrowhawk
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* refractor decimal code and docstring
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Signed-off-by: folivoramanh <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: folivoramanh <[email protected]>
* Vietnamese TN - Fraction (#296)
* Fraction class for Vietnamese TN
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Remove irrelavant test case
Signed-off-by: folivoramanh <[email protected]>
* Remove irrelavant test case
Signed-off-by: folivoramanh <[email protected]>
---------
Signed-off-by: folivoramanh <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: folivoramanh <[email protected]>
* Date Semiotic Class for Vietnamese TN (#298)
* Date for vietnamese TN
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Add roman support and correct copyright header
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* change header to current year
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* change header time
Signed-off-by: folivoramanh <[email protected]>
---------
Signed-off-by: folivoramanh <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: folivoramanh <[email protected]>
* Time - semiotic class for Vietnamese TN (#302)
* Time - semiotic class for Vietnamese TN
Signed-off-by: folivoramanh <[email protected]>
* remove irrelevant import and comment
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* add comment and refractor pattern
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Change the spaces to NEMO_SPACE for maintenance.
Signed-off-by: folivoramanh <[email protected]>
* Change the spaces to NEMO_SPACE for maintenance.
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Change the spaces to NEMO_SPACE for maintenance. - remove quote
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Signed-off-by: folivoramanh <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: folivoramanh <[email protected]>
* Add Vietnamese TN support for Money and Range semiotic classes (#304)
* Add Vietnamese TN support for Money and Range semiotic classes
- Add money.py tagger and verbalizer for Vietnamese currency handling
- Add range.py tagger for numerical range processing
- Add supporting data files for money (currency, currency_minor, per_unit)
- Add quantity abbreviations and time units data
- Update existing taggers and verbalizers for integration
- Add comprehensive test cases for money and range functionality
- Update tokenize_and_classify to include new semiotic classes
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* modify illogical test cases
Signed-off-by: folivoramanh <[email protected]>
* refractor and simplify word and punctuation to avoid hardcoding
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* refractor code money range
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Signed-off-by: folivoramanh <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: folivoramanh <[email protected]>
* Add Vietnamese measure text normalization support (#307)
* Add Vietnamese measure text normalization support
- Added measure tagger and verbalizer for Vietnamese TN
- Updated money tagger and verbalizer to handle per-unit measurements
- Added test cases for measure normalization
- Updated fraction handling for better integration
- Added data files for measurements, prefixes, and per-unit bases
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Signed-off-by: folivoramanh <[email protected]>
* add test case for range measure
Signed-off-by: folivoramanh <[email protected]>
* additional support for cardinal and remove duplicate test case
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* refractor cardinal and add test cases
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* remove duplicate lines in run_eval file
Signed-off-by: folivoramanh <[email protected]>
* refractor minor code
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* add measure support for unit per unit cases
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Signed-off-by: folivoramanh <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: folivoramanh <[email protected]>
* Vietnamese MRC 1.0 fix case (#312)
* fix and add cases
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Signed-off-by: folivoramanh <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: folivoramanh <[email protected]>
* Fix word range (#334)
* fix range and quote
Signed-off-by: folivoramanh <[email protected]>
* fix quote in post process
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fix quote and range
Signed-off-by: folivoramanh <[email protected]>
---------
Signed-off-by: folivoramanh <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: folivoramanh <[email protected]>
* Date time itn (#333)
* improve numeric semiotic classes
Signed-off-by: folivoramanh <[email protected]>
* Fix Jenkinsfile for CI (#325)
* Fix Jenkinsfile for CI
Signed-off-by: Anand Joseph <[email protected]>
* Fix requirements for test
Signed-off-by: Anand Joseph <[email protected]>
* Update paths and docker
Signed-off-by: Anand Joseph <[email protected]>
* Fix docker name
Signed-off-by: Anand Joseph <[email protected]>
* Fix click version
Signed-off-by: Anand Joseph <[email protected]>
* Change path of grammars for sparrowhawk tests
Signed-off-by: Anand Joseph <[email protected]>
* Update paths in sh_test.sh
Signed-off-by: Anand Joseph <[email protected]>
* Update paths
Signed-off-by: Anand Joseph <[email protected]>
* Revert paths
Signed-off-by: Anand Joseph <[email protected]>
---------
Signed-off-by: Anand Joseph <[email protected]>
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Signed-off-by: folivoramanh <[email protected]>
* revert old codes
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* revert not inherit
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* improve date time
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fix pynini union instead of union operator
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* improve measure, telephone, electronic
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* change union operator to pynini union
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Signed-off-by: folivoramanh <[email protected]>
Signed-off-by: Anand Joseph <[email protected]>
Co-authored-by: anand-nv <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: folivoramanh <[email protected]>
---------
Signed-off-by: Anand Joseph <[email protected]>
Signed-off-by: folivoramanh <[email protected]>
Co-authored-by: anand-nv <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Mariana Graterol Fuenmayor <[email protected]>
* Comma bugfix for En electronics (#332)
* fix bug with commas and electronics
Signed-off-by: Mariana Graterol Fuenmayor <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Signed-off-by: Mariana Graterol Fuenmayor <[email protected]>
* update jenkins
Signed-off-by: Mariana Graterol Fuenmayor <[email protected]>
---------
Signed-off-by: Mariana Graterol Fuenmayor <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Mariana Graterol Fuenmayor <[email protected]>
* remove unuse import (#340)
Signed-off-by: folivoramanh <[email protected]>
Signed-off-by: Mariana Graterol Fuenmayor <[email protected]>
* Update Jenkinsfile (#341)
Only mount TestData from path
Signed-off-by: anand-nv <[email protected]>
Signed-off-by: Mariana Graterol Fuenmayor <[email protected]>
* [pre-commit.ci] pre-commit suggestions (#335)
updates:
- [github.com/pre-commit/pre-commit-hooks: v5.0.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v5.0.0...v6.0.0)
- [github.com/PyCQA/flake8: 7.2.0 → 7.3.0](https://github.com/PyCQA/flake8/compare/7.2.0...7.3.0)
- [github.com/PyCQA/isort: 6.0.1 → 6.1.0](https://github.com/PyCQA/isort/compare/6.0.1...6.1.0)
- https://github.com/psf/black → https://github.com/psf/black-pre-commit-mirror
- [github.com/psf/black-pre-commit-mirror: 25.1.0 → 25.9.0](https://github.com/psf/black-pre-commit-mirror/compare/25.1.0...25.9.0)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Mariana Graterol Fuenmayor <[email protected]>
* update jenkins cache
Signed-off-by: Mariana Graterol Fuenmayor <[email protected]>
* fill missing lang in arg run (#347)
Signed-off-by: folivoramanh <[email protected]>
Signed-off-by: Mariana Graterol Fuenmayor <[email protected]>
* Staging vi tn DCO fixed (#354)
* PR: Add Vietnamese text normalization for cardinal semiotic class (#289)
* Add Vietnamese text normalization for cardinal semiotic class
Signed-off-by: folivoramanh <[email protected]>
* Add missing init file
Signed-off-by: folivoramanh <[email protected]>
* Fix Cardinal and optimize logic
Signed-off-by: folivoramanh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Signed-off-by: folivoramanh <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Mariana Graterol Fuenmayor <[email protected]>
Signed-off-by: Mai Anh <[email protected]>
* Ordinal and Decimal for Vietnamese TN (#290)
* Add Vietnamese text normalization for ordinal and decimal semiotic classes
Signed-off-by: Mai Anh <[email protected]>
* update sparrowhawk
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* refractor decimal code and docstring
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Signed-off-by: Mai Anh <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Mariana Graterol Fuenmayor <[email protected]>
Signed-off-by: Mai Anh <[email protected]>
* Vietnamese TN - Fraction (#296)
* Fraction class for Vietnamese TN
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Remove irrelavant test case
Signed-off-by: Mai Anh <[email protected]>
* Remove irrelavant test case
Signed-off-by: Mai Anh <[email protected]>
---------
Signed-off-by: Mai Anh <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Mariana Graterol Fuenmayor <[email protected]>
Signed-off-by: Mai Anh <[email protected]>
* Date Semiotic Class for Vietnamese TN (#298)
* Date for vietnamese TN
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Add roman support and correct copyright header
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* change header to current year
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* change header time
Signed-off-by: Mai Anh <[email protected]>
---------
Signed-off-by: Mai Anh <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Mariana Graterol Fuenmayor <[email protected]>
Signed-off-by: Mai Anh <[email protected]>
* Time - semiotic class for Vietnamese TN (#302)
* Time - semiotic class for Vietnamese TN
Signed-off-by: Mai Anh <[email protected]>
* remove irrelevant import and comment
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* add comment and refractor pattern
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Change the spaces to NEMO_SPACE for maintenance.
Signed-off-by: Mai Anh <[email protected]>
* Change the spaces to NEMO_SPACE for maintenance.
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Change the spaces to NEMO_SPACE for maintenance. - remove quote
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Signed-off-by: Mai Anh <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Mariana Graterol Fuenmayor <[email protected]>
Signed-off-by: Mai Anh <[email protected]>
* Add Vietnamese TN support for Money and Range semiotic classes (#304)
* Add Vietnamese TN support for Money and Range semiotic classes
- Add money.py tagger and verbalizer for Vietnamese currency handling
- Add range.py tagger for numerical range processing
- Add supporting data files for money (currency, currency_minor, per_unit)
- Add quantity abbreviations and time units data
- Update existing taggers and verbalizers for integration
- Add comprehensive test cases for money and range functionality
- Update tokenize_and_classify to include new semiotic classes
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* modify illogical test cases
Signed-off-by: Mai Anh <[email protected]>
* refractor and simplify word and punctuation to avoid hardcoding
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* refractor code money range
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Signed-off-by: Mai Anh <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Mariana Graterol Fuenmayor <[email protected]>
Signed-off-by: Mai Anh <[email protected]>
* Add Vietnamese measure text normalization support (#307)
* Add Vietnamese measure text normalization support
- Added measure tagger and verbalizer for Vietnamese TN
- Updated money tagger and verbalizer to handle per-unit measurements
- Added test cases for measure normalization
- Updated fraction handling for better integration
- Added data files for measurements, prefixes, and per-unit bases
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Signed-off-by: Mai Anh <[email protected]>
* add test case for range measure
Signed-off-by: Mai Anh <[email protected]>
* additional support for cardinal and remove duplicate test case
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* refractor cardinal and add test cases
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* remove duplicate lines in run_eval file
Signed-off-by: Mai Anh <[email protected]>
* refractor minor code
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* add measure support for unit per unit cases
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Signed-off-by: Mai Anh <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Mariana Graterol Fuenmayor <[email protected]>
Signed-off-by: Mai Anh <[email protected]>
* Vietnamese MRC 1.0 fix case (#312)
* fix and add cases
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Signed-off-by: Mai Anh <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Mariana Graterol Fuenmayor <[email protected]>
Signed-off-by: Mai Anh <[email protected]>
* Fix Jenkinsfile for CI (#325) (#327)
* Fix Jenkinsfile for CI
* Fix requirements for test
* Update paths and docker
* Fix docker name
* Fix click version
* Change path of grammars for sparrowhawk tests
* Update paths in sh_test.sh
* Update paths
* Revert paths
---------
Signed-off-by: Anand Joseph <[email protected]>
Signed-off-by: Mai Anh <[email protected]>
Co-authored-by: anand-nv <[email protected]>
Signed-off-by: Mariana Graterol Fuenmayor <[email protected]>
Signed-off-by: Mai Anh <[email protected]>
* Fix word range (#334)
* fix range and quote
Signed-off-by: Mai Anh <[email protected]>
* fix quote in post process
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fix quote and range
Signed-off-by: Mai Anh <[email protected]>
---------
Signed-off-by: Mai Anh <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Mariana Graterol Fuenmayor <[email protected]>
Signed-off-by: Mai Anh <[email protected]>
* Date time itn (#333)
* improve numeric semiotic classes
Signed-off-by: Mai Anh <[email protected]>
* Fix Jenkinsfile for CI (#325)
* Fix Jenkinsfile for CI
Signed-off-by: Anand Joseph <[email protected]>
* Fix requirements for test
Signed-off-by: Anand Joseph <[email protected]>
* Update paths and docker
Signed-off-by: Anand Joseph <[email protected]>
* Fix docker name
Signed-off-by: Anand Joseph <[email protected]>
* Fix click version
Signed-off-by: Anand Joseph <[email protected]>
* Change path of grammars for sparrowhawk tests
Signed-off-by: Anand Joseph <[email protected]>
* Update paths in sh_test.sh
Signed-off-by: Anand Joseph <[email protected]>
* Update paths
Signed-off-by: Anand Joseph <[email protected]>
* Revert paths
Signed-off-by: Anand Joseph <[email protected]>
---------
Signed-off-by: Anand Joseph <[email protected]>
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Signed-off-by: Mai Anh <[email protected]>
* revert old codes
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* revert not inherit
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* improve date time
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fix pynini union instead of union operator
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* improve measure, telephone, electronic
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* change union operator to pynini union
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Signed-off-by: Mai Anh <[email protected]>
Signed-off-by: Anand Joseph <[email protected]>
Co-authored-by: anand-nv <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Mariana Graterol Fuenmayor <[email protected]>
Signed-off-by: Mai Anh <[email protected]>
* Staging vi tn signed off (#339)
* Fix Jenkinsfile for CI (#325)
* Fix Jenkinsfile for CI
Signed-off-by: Anand Joseph <[email protected]>
* Fix requirements for test
Signed-off-by: Anand Joseph <[email protected]>
* Update paths and docker
Signed-off-by: Anand Joseph <[email protected]>
* Fix docker name
Signed-off-by: Anand Joseph <[email protected]>
* Fix click version
Signed-off-by: Anand Joseph <[email protected]>
* Change path of grammars for sparrowhawk tests
Signed-off-by: Anand Joseph <[email protected]>
* Update paths in sh_test.sh
Signed-off-by: Anand Joseph <[email protected]>
* Update paths
Signed-off-by: Anand Joseph <[email protected]>
* Revert paths
Signed-off-by: Anand Joseph <[email protected]>
---------
Signed-off-by: Anand Joseph <[email protected]>
Signed-off-by: Mai Anh <[email protected]>
* PR: Add Vietnamese text normalization for cardinal semiotic class (#289)
* Add Vietnamese text normalization for cardinal semiotic class
Signed-off-by: Mai Anh <[email protected]>
* Add missing init file
Signed-off-by: Mai Anh <[email protected]>
* Fix Cardinal and optimize logic
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Signed-off-by: Mai Anh <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Mai Anh <[email protected]>
* Ordinal and Decimal for Vietnamese TN (#290)
* Add Vietnamese text normalization for ordinal and decimal semiotic classes
Signed-off-by: Mai Anh <[email protected]>
* update sparrowhawk
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* refractor decimal code and docstring
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Signed-off-by: Mai Anh <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Mai Anh <[email protected]>
* Vietnamese TN - Fraction (#296)
* Fraction class for Vietnamese TN
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Remove irrelavant test case
Signed-off-by: Mai Anh <[email protected]>
* Remove irrelavant test case
Signed-off-by: Mai Anh <[email protected]>
---------
Signed-off-by: Mai Anh <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Mai Anh <[email protected]>
* Date Semiotic Class for Vietnamese TN (#298)
* Date for vietnamese TN
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Add roman support and correct copyright header
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* change header to current year
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* change header time
Signed-off-by: Mai Anh <[email protected]>
---------
Signed-off-by: Mai Anh <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Mai Anh <[email protected]>
* Time - semiotic class for Vietnamese TN (#302)
* Time - semiotic class for Vietnamese TN
Signed-off-by: Mai Anh <[email protected]>
* remove irrelevant import and comment
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* add comment and refractor pattern
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Change the spaces to NEMO_SPACE for maintenance.
Signed-off-by: Mai Anh <[email protected]>
* Change the spaces to NEMO_SPACE for maintenance.
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Change the spaces to NEMO_SPACE for maintenance. - remove quote
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Signed-off-by: Mai Anh <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Mai Anh <[email protected]>
* Add Vietnamese TN support for Money and Range semiotic classes (#304)
* Add Vietnamese TN support for Money and Range semiotic classes
- Add money.py tagger and verbalizer for Vietnamese currency handling
- Add range.py tagger for numerical range processing
- Add supporting data files for money (currency, currency_minor, per_unit)
- Add quantity abbreviations and time units data
- Update existing taggers and verbalizers for integration
- Add comprehensive test cases for money and range functionality
- Update tokenize_and_classify to include new semiotic classes
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* modify illogical test cases
Signed-off-by: Mai Anh <[email protected]>
* refractor and simplify word and punctuation to avoid hardcoding
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* refractor code money range
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Signed-off-by: Mai Anh <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Mai Anh <[email protected]>
* Add Vietnamese measure text normalization support (#307)
* Add Vietnamese measure text normalization support
- Added measure tagger and verbalizer for Vietnamese TN
- Updated money tagger and verbalizer to handle per-unit measurements
- Added test cases for measure normalization
- Updated fraction handling for better integration
- Added data files for measurements, prefixes, and per-unit bases
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Signed-off-by: Mai Anh <[email protected]>
* add test case for range measure
Signed-off-by: Mai Anh <[email protected]>
* additional support for cardinal and remove duplicate test case
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* refractor cardinal and add test cases
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* remove duplicate lines in run_eval file
Signed-off-by: Mai Anh <[email protected]>
* refractor minor code
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* add measure support for unit per unit cases
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Signed-off-by: Mai Anh <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Mai Anh <[email protected]>
* Vietnamese MRC 1.0 fix case (#312)
* fix and add cases
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Signed-off-by: Mai Anh <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Mai Anh <[email protected]>
* Fix word range (#334)
* fix range and quote
Signed-off-by: Mai Anh <[email protected]>
* fix quote in post process
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fix quote and range
Signed-off-by: Mai Anh <[email protected]>
---------
Signed-off-by: Mai Anh <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Mai Anh <[email protected]>
* Date time itn (#333)
* improve numeric semiotic classes
Signed-off-by: Mai Anh <[email protected]>
* Fix Jenkinsfile for CI (#325)
* Fix Jenkinsfile for CI
Signed-off-by: Anand Joseph <[email protected]>
* Fix requirements for test
Signed-off-by: Anand Joseph <[email protected]>
* Update paths and docker
Signed-off-by: Anand Joseph <[email protected]>
* Fix docker name
Signed-off-by: Anand Joseph <[email protected]>
* Fix click version
Signed-off-by: Anand Joseph <[email protected]>
* Change path of grammars for sparrowhawk tests
Signed-off-by: Anand Joseph <[email protected]>
* Update paths in sh_test.sh
Signed-off-by: Anand Joseph <[email protected]>
* Update paths
Signed-off-by: Anand Joseph <[email protected]>
* Revert paths
Signed-off-by: Anand Joseph <[email protected]>
---------
Signed-off-by: Anand Joseph <[email protected]>
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Signed-off-by: Mai Anh <[email protected]>
* revert old codes
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* revert not inherit
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* improve date time
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fix pynini union instead of union operator
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* improve measure, telephone, electronic
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* change union operator to pynini union
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Signed-off-by: Mai Anh <[email protected]>
Signed-off-by: Anand Joseph <[email protected]>
Co-authored-by: anand-nv <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Mai Anh <[email protected]>
---------
Signed-off-by: Anand Joseph <[email protected]>
Signed-off-by: Mai Anh <[email protected]>
Co-authored-by: anand-nv <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Mariana Graterol Fuenmayor <[email protected]>
Signed-off-by: Mai Anh <[email protected]>
* Comma bugfix for En electronics (#332)
* fix bug with commas and electronics
Signed-off-by: Mariana Graterol Fuenmayor <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Signed-off-by: Mariana Graterol Fuenmayor <[email protected]>
* update jenkins
Signed-off-by: Mariana Graterol Fuenmayor <[email protected]>
---------
Signed-off-by: Mariana Graterol Fuenmayor <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Mariana Graterol Fuenmayor <[email protected]>
Signed-off-by: Mai Anh <[email protected]>
* remove unuse import (#340)
Signed-off-by: Mai Anh <[email protected]>
Signed-off-by: Mariana Graterol Fuenmayor <[email protected]>
Signed-off-by: Mai Anh <[email protected]>
* Update Jenkinsfile (#341)
Only mount TestData from path
Signed-off-by: anand-nv <[email protected]>
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] pre-commit suggestions (#335)
updates:
- [github.com/pre-commit/pre-commit-hooks: v5.0.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v5.0.0...v6.0.0)
- [github.com/PyCQA/flake8: 7.2.0 → 7.3.0](https://github.com/PyCQA/flake8/compare/7.2.0...7.3.0)
- [github.com/PyCQA/isort: 6.0.1 → 6.1.0](https://github.com/PyCQA/isort/compare/6.0.1...6.1.0)
- https://github.com/psf/black → https://github.com/psf/black-pre-commit-mirror
- [github.com/psf/black-pre-commit-mirror: 25.1.0 → 25.9.0](https://github.com/psf/black-pre-commit-mirror/compare/25.1.0...25.9.0)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Mai Anh <[email protected]>
* update jenkins cache
Signed-off-by: Mariana Graterol Fuenmayor <[email protected]>
Signed-off-by: Mai Anh <[email protected]>
* fill missing lang in arg run (#347)
Signed-off-by: Mai Anh <[email protected]>
Signed-off-by: Mai Anh <[email protected]>
---------
Signed-off-by: folivoramanh <[email protected]>
Signed-off-by: Mariana Graterol Fuenmayor <[email protected]>
Signed-off-by: Mai Anh <[email protected]>
Signed-off-by: Anand Joseph <[email protected]>
Signed-off-by: anand-nv <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: anand-nv <[email protected]>
Co-authored-by: Mariana <[email protected]>
Co-authored-by: Mariana Graterol Fuenmayor <[email protected]>
Signed-off-by: Mariana Graterol Fuenmayor <[email protected]>
* update vi cache date
Signed-off-by: Mariana Graterol Fuenmayor <[email protected]>
* Refactor Vietnamese (#357)
* Refactor Vietnamese ITN taggers: modularize date, add data files, improve naming
- Modularize date.py year components for better readability
- Add weights to prevent non-deterministic behavior in insert operations
- Remove redundant YEAR_WEIGHT constant (use inline weights)
- Create zero_prefix.tsv and digit_special.tsv data files
- Rename delete_extra_space to delete_single_space in electronic.py for clarity
- Add delete_single_space to graph_utils for reuse
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Refactor Vietnamese: PSA follow
Signed-off-by: Mai Anh <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Signed-off-by: Mai Anh <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* delete unuse import (#358)
Signed-off-by: Mai Anh <[email protected]>
---------
Signed-off-by: folivoramanh <[email protected]>
Signed-off-by: Mariana Graterol Fuenmayor <[email protected]>
Signed-off-by: Anand Joseph <[email protected]>
Signed-off-by: anand-nv <[email protected]>
Signed-off-by: Mai Anh <[email protected]>
Signed-off-by: Mariana <[email protected]>
Co-authored-by: Mai Anh <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: anand-nv <[email protected]>
Co-authored-by: Mai Anh <[email protected]>1 parent fcebf16 commit edd2288
File tree
128 files changed
+5263
-454
lines changed- nemo_text_processing
- inverse_text_normalization/vi
- data
- electronic
- numbers
- time
- taggers
- verbalizers
- text_normalization
- vi
- data
- date
- fraction
- measure
- money
- numbers
- ordinal
- roman
- time
- taggers
- verbalizers
- tests/nemo_text_processing/vi
- data_inverse_text_normalization
- data_text_normalization
- tools/text_processing_deployment
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
128 files changed
+5263
-454
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
| 173 | + | |
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
199 | 204 | | |
200 | 205 | | |
201 | 206 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| |||
Lines changed: 51 additions & 48 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | 39 | | |
42 | 40 | | |
43 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
44 | 51 | | |
45 | 52 | | |
46 | 53 | | |
47 | 54 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | 55 | | |
52 | 56 | | |
53 | 57 | | |
54 | | - | |
| 58 | + | |
55 | 59 | | |
56 | 60 | | |
57 | 61 | | |
58 | 62 | | |
59 | 63 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
64 | 69 | | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
71 | 76 | | |
72 | 77 | | |
73 | 78 | | |
74 | 79 | | |
75 | 80 | | |
76 | | - | |
77 | | - | |
78 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
79 | 87 | | |
80 | | - | |
81 | 88 | | |
82 | 89 | | |
83 | 90 | | |
84 | 91 | | |
85 | 92 | | |
86 | | - | |
| 93 | + | |
87 | 94 | | |
88 | | - | |
| 95 | + | |
89 | 96 | | |
90 | 97 | | |
91 | | - | |
92 | | - | |
93 | | - | |
| 98 | + | |
94 | 99 | | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
| 100 | + | |
106 | 101 | | |
107 | 102 | | |
108 | 103 | | |
109 | 104 | | |
110 | | - | |
| 105 | + | |
111 | 106 | | |
112 | 107 | | |
113 | 108 | | |
114 | 109 | | |
115 | 110 | | |
116 | | - | |
| 111 | + | |
117 | 112 | | |
| 113 | + | |
118 | 114 | | |
| 115 | + | |
119 | 116 | | |
120 | 117 | | |
121 | 118 | | |
122 | 119 | | |
123 | 120 | | |
124 | 121 | | |
125 | | - | |
126 | | - | |
| 122 | + | |
| 123 | + | |
127 | 124 | | |
128 | 125 | | |
129 | | - | |
| 126 | + | |
130 | 127 | | |
131 | | - | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
137 | | - | |
138 | | - | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
139 | 142 | | |
140 | 143 | | |
141 | 144 | | |
142 | | - | |
| 145 | + | |
143 | 146 | | |
144 | 147 | | |
145 | 148 | | |
146 | | - | |
| 149 | + | |
147 | 150 | | |
148 | 151 | | |
149 | | - | |
| 152 | + | |
150 | 153 | | |
151 | 154 | | |
152 | 155 | | |
| |||
0 commit comments