(self)
| 235 | ) |
| 236 | |
| 237 | def save(self): |
| 238 | save_graphs(self.graph_path, self._trees) |
| 239 | save_info(self.vocab_path, {"vocab": self.vocab}) |
| 240 | if self.pretrained_emb: |
| 241 | emb_path = os.path.join(self.save_path, "emb.pkl") |
| 242 | save_info(emb_path, {"embed": self.pretrained_emb}) |
| 243 | |
| 244 | def load(self): |
| 245 | emb_path = os.path.join(self.save_path, "emb.pkl") |
nothing calls this directly
no test coverage detected