MCPcopy Create free account

hub / github.com/hankcs/HanLP / functions

Functions2,968 in github.com/hankcs/HanLP

Method__init__
r""" A dict-like structure for fast custom dictionary strategies in tokenization and tagging. It is built with a dict of key-value pai
plugins/hanlp_trie/hanlp_trie/dictionary.py:160
Method__init__
A referential implementation of the trie (:cite:`10.1145/1457838.1457895`) structure. It stores a dict by assigning each key/value pair a :cla
plugins/hanlp_trie/hanlp_trie/trie.py:50
Method__init__
Args: url (str): An API endpoint to a service provider. auth (str): An auth key licenced from a service provider.
plugins/hanlp_restful/hanlp_restful/__init__.py:39
Method__init_subclass__
(self)
hanlp/components/amr/amrbart/model_interface/modeling_bart.py:529
Method__iter__
(self)
hanlp/components/mtl/multi_task_learning.py:67
Method__iter__
(self)
hanlp/utils/io_util.py:645
Method__iter__
Return its iterator.
hanlp/utils/file_read_backwards/file_read_backwards.py:48
Method__iter__
(self)
hanlp/utils/file_read_backwards/file_read_backwards.py:98
Method__iter__
(self)
hanlp/common/dataset.py:341
Method__iter__
(self)
hanlp/common/dataset.py:429
Method__iter__
(self)
hanlp/common/dataset.py:534
Method__iter__
(self)
hanlp/common/dataset.py:588
Method__iter__
(self)
hanlp/common/dataset.py:728
Method__iter__
(self)
hanlp/datasets/lm/loaders/lm_dataset.py:95
Method__le__
(self, other)
hanlp/metrics/metric.py:12
Method__le__
(self, other)
hanlp/metrics/parsing/labeled_f1.py:37
Method__le__
(self, other)
hanlp/metrics/parsing/attachmentscore.py:51
Method__le__
(self, other)
hanlp/metrics/parsing/labeled_score.py:32
Method__le__
(self, other)
hanlp/metrics/parsing/labeled_f1_tf.py:37
Method__len__
(self)
hanlp/components/mtl/multi_task_learning.py:62
Method__len__
(self)
hanlp/common/dataset.py:212
Method__len__
(self)
hanlp/common/dataset.py:540
Method__len__
(self)
hanlp/common/dataset.py:660
Method__len__
(self)
hanlp/common/dataset.py:734
Method__len__
(self)
hanlp/common/dataset.py:792
Method__len__
(self)
hanlp/common/dataset.py:814
Method__len__
(self)
hanlp/common/vocab_tf.py:112
Method__len__
(self)
hanlp/common/vocab.py:152
Method__len__
(self)
hanlp/datasets/parsing/loaders/conll_dataset.py:56
Method__len__
(self)
plugins/hanlp_trie/hanlp_trie/trie.py:160
Method__lt__
(self, other)
hanlp/metrics/metric.py:9
Method__lt__
(self, other)
hanlp/metrics/parsing/labeled_f1.py:34
Method__lt__
(self, other)
hanlp/metrics/parsing/attachmentscore.py:48
Method__lt__
(self, other)
hanlp/metrics/parsing/labeled_score.py:29
Method__lt__
(self, other)
hanlp/metrics/parsing/labeled_f1_tf.py:34
Method__ne__
(self, other)
hanlp/metrics/metric.py:24
Method__repr__
(self)
hanlp/components/pipeline.py:66
Method__repr__
(self)
hanlp/components/parsers/biaffine/variationalbilstm.py:85
Method__repr__
(self)
hanlp/components/parsers/biaffine/biaffine.py:65
Method__repr__
(self)
hanlp/components/parsers/biaffine/mlp.py:57
Method__repr__
(self)
hanlp/components/srl/span_rank/layer.py:175
Method__repr__
(self)
hanlp/components/mtl/multi_task_learning.py:798
Method__repr__
(self)
hanlp/metrics/metric.py:36
Method__repr__
(self)
hanlp/metrics/f1.py:16
Method__repr__
(self)
hanlp/metrics/f1.py:62
Method__repr__
(self)
hanlp/metrics/mtl.py:22
Method__repr__
(self)
hanlp/metrics/accuracy.py:105
Method__repr__
(self)
hanlp/metrics/parsing/labeled_f1.py:18
Method__repr__
(self)
hanlp/metrics/parsing/attachmentscore.py:36
Method__repr__
(self)
hanlp/metrics/parsing/labeled_score.py:18
Method__repr__
(self)
hanlp/metrics/parsing/labeled_f1_tf.py:17
Method__repr__
(self)
hanlp/metrics/parsing/span.py:62
Method__repr__
(self)
hanlp/metrics/chunking/conlleval.py:112
Method__repr__
(self)
hanlp/layers/embeddings/fast_text.py:80
Method__repr__
(self)
hanlp/layers/crf/crf.py:79
Method__repr__
(self)
hanlp/common/dataset.py:215
Method__repr__
(self)
hanlp/common/vocab.py:352
Method__repr__
(self)
plugins/hanlp_common/hanlp_common/configurable.py:47
Method__repr__
(self)
plugins/hanlp_common/hanlp_common/amr.py:144
Method__repr__
(self)
plugins/hanlp_common/hanlp_common/amr.py:208
Method__repr__
(self)
plugins/hanlp_common/hanlp_common/amr.py:861
Method__setattr__
(self, key: str, value)
hanlp/components/mtl/multi_task_learning.py:804
Method__setattr__
(self, key, value)
hanlp/common/transform.py:197
Method__setattr__
(self, key, value)
plugins/hanlp_common/hanlp_common/structure.py:97
Method__setitem__
(self, token: str, idx: int)
hanlp/common/vocab_tf.py:35
Method__setitem__
(self, token: str, idx: int)
hanlp/common/vocab.py:42
Method__setstate__
(self, state)
hanlp/components/amr/seq2seq/optim.py:29
Method__str__
(self)
hanlp/components/amr/seq2seq/dataset/penman.py:84
Method__str__
(self)
hanlp/utils/span_util.py:256
Method__str__
(self)
hanlp/utils/time_util.py:57
Method__str__
(self)
hanlp/metrics/spearman_correlation.py:85
Method__str__
(self)
hanlp/metrics/chunking/chunking_f1.py:132
Method__str__
(self)
hanlp/common/vocab_tf.py:166
Method__str__
(self)
hanlp/common/vocab.py:221
Method__str__
(self)
hanlp/datasets/qa/hotpotqa.py:125
Method__str__
(self)
plugins/hanlp_common/hanlp_common/conll.py:145
Method__str__
(self)
plugins/hanlp_common/hanlp_common/conll.py:193
Method__str__
(self)
plugins/hanlp_common/hanlp_common/conll.py:345
Method__str__
(self)
plugins/hanlp_common/hanlp_common/amr.py:216
Method__str__
(self)
plugins/hanlp_common/hanlp_common/amr.py:290
Method__str__
(self)
plugins/hanlp_common/hanlp_common/document.py:129
Method__truediv__
(self, scalar)
hanlp/utils/time_util.py:60
Method_adaptive_loss
(self, hidden, mask, gold_tags, output_dim)
hanlp/components/parsers/ud/tag_decoder.py:79
Method_apply
(self, fn)
hanlp/layers/embeddings/word2vec.py:87
Method_debug_load_cache
(self)
hanlp/datasets/lm/loaders/lm_dataset.py:132
Function_decode_non_overlapping_spans
(starts, ends, scores, max_len, labels_inv, pred_id)
hanlp/components/srl/span_rank/inference_utils.py:124
Method_do_layer_norm
(tensor, broadcast_mask, num_elements_not_masked)
hanlp/layers/scalar_mix.py:111
Method_do_nothing
()
hanlp/layers/weight_normalization.py:138
Method_forward_brnn
(cell, gate, input, masks, initial, drop_masks=None, hidden_drop=None)
hanlp/components/srl/span_rank/highway_variational_lstm.py:194
Method_forward_rnn
(cell, gate, input, masks, initial, drop_masks=None, hidden_drop=None)
hanlp/components/srl/span_rank/highway_variational_lstm.py:182
Method_get_nodes_and_backreferences
(self, graph)
hanlp/components/amr/seq2seq/dataset/tokenization_bart.py:295
Method_get_nodes_and_backreferences
(self, graph)
hanlp/components/amr/seq2seq/dataset/tokenization_t5.py:288
Function_matches
Regular expression compiling function decorator.
hanlp/utils/lang/en/english_tokenizer.py:164
Function_prefetch_generator
(dataloader, queue, batchify=None)
hanlp/common/dataset.py:544
Method_prepare_local
(self, var_device, var_dtype, apply_state)
hanlp/optimizers/adamw/optimization.py:152
Method_remove_short_tokens
(word2vec)
hanlp/layers/embeddings/word2vec.py:353
Method_reorder_cache
(past, beam_idx)
hanlp/components/amr/amrbart/model_interface/modeling_bart.py:1425
Method_reorder_cache
(past, beam_idx)
hanlp/components/amr/amrbart/model_interface/modeling_bart.py:1890
Method_repl1
(match)
hanlp/components/amr/seq2seq/dataset/tokenization_bart.py:606
Method_repl1
(match)
hanlp/components/amr/seq2seq/dataset/tokenization_t5.py:601
← previousnext →1,601–1,700 of 2,968, ranked by callers