This changes the docstring in the split_text_into_sentences method in Normalizer() to a raw string. Without this, there is an invalid escape sequence ('\s') on line 526 in the docstring that can cause a syntax error.
Before your PR is "Ready for review"
Pre checks:
[x] Have you signed your commits? Use git commit -s to sign.
[x] Do all unittests finish successfully before sending PR?
1) 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 tests bash tools/text_processing_deployment/export_grammars.sh --MODE=test ...
What does this PR do ?
This changes the docstring in the
split_text_into_sentences
method inNormalizer()
to a raw string. Without this, there is an invalid escape sequence ('\s') on line 526 in the docstring that can cause a syntax error.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 ...
PR Type: