Closed mgrafu closed 7 months ago
@mgrafu also some of TN SH tests also seem to be missing
@ekmb added tests and SH tests!
@mgrafu could you please check that all test*py files in https://github.com/NVIDIA/NeMo-text-processing/tree/fr_nondet_bug/tests/nemo_text_processing/fr test both TN and ITN? e.g. no TN tests for date, is this class supported?
@mgrafu could you please check that all test*py files in https://github.com/NVIDIA/NeMo-text-processing/tree/fr_nondet_bug/tests/nemo_text_processing/fr test both TN and ITN? e.g. no TN tests for date, is this class supported?
@ekmb just a few classes are supported for TN for now -- the test*py and SH test files reflect what is implemented :)
What does this PR do ?
fix for issue #130
Before your PR is "Ready for review"
Pre checks:
git commit -s
to sign.pytest
or (if your machine does not have GPU)pytest --cpu
from the root folder (given you marked your test cases accordingly@pytest.mark.run_only_on('CPU')
). 2) Sparrowhawk testsbash tools/text_processing_deployment/export_grammars.sh --MODE=test ...
pytest
and Sparrowhawk here.__init__.py
for every folder and subfolder, includingdata
folder which has .TSV files?Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
to all newly added Python files?Copyright 2015 and onwards Google, Inc.
. See an example here.try import: ... except: ...
) if not already done.PR Type:
If you haven't finished some of the above items you can still open "Draft" PR.