def setUpClass(cls) -> None:
     cls.data = np.array([
         '123 Fake St.', '1/2/2020', 'nice.', '4/3/22', 'abc', '333-44-2341'
     ]).reshape((-1, ))
     cls.data_labeler = BaseDataLabeler.load_from_disk(
         os.path.join(default_labeler_dir, 'regex_model'))
Exemple #2
0
 def setUpClass(cls) -> None:
     cls.data = np.array([
         "123 Fake St.", "1/2/2020", "nice.", "4/3/22", "abc", "333-44-2341"
     ]).reshape((-1, ))
     cls.data_labeler = BaseDataLabeler.load_from_disk(
         os.path.join(default_labeler_dir, "regex_model"))