check if the filepath for a text tokenizer exists
(model_path)
| 505 | |
| 506 | @staticmethod |
| 507 | def exists(model_path): |
| 508 | """check if the filepath for a text tokenizer exists""" |
| 509 | raise NotImplementedError('TextTokenizer exists method not implemented') |
| 510 | |
| 511 | def Train(self, corpus): |
| 512 | """train a tokenizer on a data corpus and save model for future use""" |
no outgoing calls
no test coverage detected