check if the filepath for a text tokenizer exists
(model_path)
| 414 | |
| 415 | @staticmethod |
| 416 | def exists(model_path): |
| 417 | """check if the filepath for a text tokenizer exists""" |
| 418 | raise NotImplementedError('TextTokenizer exists method not implemented') |
| 419 | |
| 420 | def Train(self, corpus): |
| 421 | """train a tokenizer on a data corpus and save model for future use""" |
no outgoing calls
no test coverage detected