def METHOD_NAME(method_name: str, options: ModelSignature):
    def _run(self: EasyOCRRunnable, *args: t.Any, **kwargs: t.Any) -> t.Any:
        return self.predict_fns[method_name](*args, **kwargs)
    EasyOCRRunnable.add_method(
        _run,
        name=method_name,
        batchable=options.batchable,
        batch_dim=options.batch_dim,
        input_spec=options.input_spec,
        output_spec=options.output_spec,
    )