Move Submodule muliwai from root to ac_dc to allow cleaner local reference, since this is the only directory that is using the submodule.
Uncommented and slightly modified anonymization.py to work with its imports.
Created test_anonymization.py with test cases through faker and num2words.
The following actions are required:
From the test cases, it seems like muliwai.pii_regexes.detect_ner_with_regex_and_context is not working as expected, which requires some check / debugging. Specifically, it seems to only work with global regex, not language specific ones. Please run test_anonymization.py for clarity.
We may need contributors from other languages to provide some test cases in similar format
This PR includes the following actions:
muliwai
from root toac_dc
to allow cleaner local reference, since this is the only directory that is using the submodule.anonymization.py
to work with its imports.test_anonymization.py
with test cases throughfaker
andnum2words
.The following actions are required:
muliwai.pii_regexes.detect_ner_with_regex_and_context
is not working as expected, which requires some check / debugging. Specifically, it seems to only work with global regex, not language specific ones. Please runtest_anonymization.py
for clarity.