public function register(Container $pimple)
    {
        $pimple['tencentai.auth'] = function ($app) {
            return new Authorization(
                $app['config']->get('ocrs.tencentai.app_id'),
                $app['config']->get('ocrs.tencentai.app_key')
            );
        };

        $pimple['tencentai'] = function ($app) {
            return new OCRManager($app['tencentai.auth']);
        };
    }
public function register(Container $pimple)
    {
        $pimple['tencentai.auth'] = function ($app) {
            return new Authorization(
                $app['config']->get('ocrs.tencentai.app_id'),
                $app['config']->get('ocrs.tencentai.app_key')
            );
        };

        $pimple['tencentai'] = function ($app) {
            return new OCRManager($app['tencentai.auth']);
        };
    }
{@inheritdoc}