def METHOD_NAME(cls,
         model_dir=None,  # type: Optional[Text]
         model_metadata=None,  # type: Optional[Metadata]
         cached_component=None,  # type: Optional[Component]
         **kwargs  # type: **Any
         ):
    # type: (...) -> JiebaTokenizer
    import jieba as tokenizer
    component_meta = model_metadata.for_component(cls.name)
    if component_meta.get("default_dict"):
        path_default_dict = os.path.join(model_dir, component_meta.get("default_dict"))
        component_meta["default_dict"] = path_default_dict
    if component_meta.get("user_dicts"):
        path_user_dicts = os.path.join(model_dir, component_meta.get("user_dicts"))
        component_meta["user_dicts"] = path_user_dicts
    tokenizer = cls.init_jieba(tokenizer, component_meta)
    return cls(component_meta, tokenizer)