↓ 456 callersMethodappend(self, item: Union[str, Tuple[str, Vocab], Tuple[str, str, Vocab], FieldToIndex])
hanlp/common/transform.py:74
↓ 58 callersMethodlog(self, info=None, ratio_percentage=True, ratio=True, step=1, interval=0.5, erase=True,
logger: Uni
hanlp/utils/time_util.py:165
↓ 11 callersMethod__init__(self, src, dst='char', max_word_length=None, min_word_length=None, pad=PAD)
hanlp/common/transform.py:374
↓ 9 callersFunctionsave_json(item: Union[dict, list, str, int, float], path: str, ensure_ascii=False, cls=None,
default=lamb
plugins/hanlp_common/hanlp_common/io.py:21
↓ 8 callersMethodlog(self, info=None, ratio_percentage=True, ratio=True, step=0, interval=0.5, erase=True,
logger: Uni
hanlp/utils/io_util.py:656
↓ 8 callersMethodtokenize(sample: dict, tokenizer, max_src_length=400, max_tgt_length=1024, unified_input=True, amr="src",
hanlp/components/amr/amrbart/data_interface/dataset.py:50
↓ 7 callersMethod__init__(self, in1_features, in2_features, out_features,
bias=(True, True))
hanlp/components/srl/span_rank/layer.py:134