(self, data: Any, **kwargs)
| 16 | self.config['classpath'] = classpath_of(self) |
| 17 | |
| 18 | def predict(self, data: Any, **kwargs): |
| 19 | unpack = kwargs.pop('_hanlp_unpack', None) |
| 20 | if unpack: |
| 21 | return self.function(*data, **kwargs) |
| 22 | return self.function(data, **kwargs) |
| 23 | |
| 24 | @staticmethod |
| 25 | def from_config(meta: dict, **kwargs): |
nothing calls this directly
no outgoing calls
no test coverage detected