MCPcopy Create free account

hub / github.com/chaitanyamalaviya/NeuralFactorGraph / functions

Functions1,071 in github.com/chaitanyamalaviya/NeuralFactorGraph

Function__pyx_tp_clear_7cyutils___pyx_scope_struct__unfreeze_dict
cyutils.c:17430
Function__pyx_tp_clear_9cymessage_Messages
cymessage.c:6530
Function__pyx_tp_clear_9cymessage___pyx_scope_struct____iter__
cymessage.c:6706
Function__pyx_tp_dealloc_6cytags___pyx_scope_struct_1_tagExists
cytags.c:4672
Function__pyx_tp_dealloc_6cytags___pyx_scope_struct_2_genexpr
cytags.c:4783
Function__pyx_tp_dealloc_6cytags___pyx_scope_struct_3___iter__
cytags.c:4894
Function__pyx_tp_dealloc_6cytags___pyx_scope_struct_4_labelExists
cytags.c:5012
Function__pyx_tp_dealloc_6cytags___pyx_scope_struct_5_genexpr
cytags.c:5123
Function__pyx_tp_dealloc_6cytags___pyx_scope_struct____iter__
cytags.c:4554
Function__pyx_tp_dealloc_7cygraph_FactorGraph
cygraph.c:7564
Function__pyx_tp_dealloc_7cygraph___pyx_scope_struct_1_iterFactors
cygraph.c:7925
Function__pyx_tp_dealloc_7cygraph___pyx_scope_struct____iter__
cygraph.c:7807
Function__pyx_tp_dealloc_7cyutils___pyx_scope_struct_1_genexpr
cyutils.c:17514
Function__pyx_tp_dealloc_7cyutils___pyx_scope_struct__unfreeze_dict
cyutils.c:17410
Function__pyx_tp_dealloc_9cymessage_Messages
cymessage.c:6509
Function__pyx_tp_dealloc_9cymessage___pyx_scope_struct____iter__
cymessage.c:6670
Function__pyx_tp_new_7cygraph_FactorGraph
cygraph.c:7547
Function__pyx_tp_new_9cymessage_Messages
cymessage.c:6495
Function__pyx_tp_traverse_6cytags___pyx_scope_struct_1_tagExists
cytags.c:4684
Function__pyx_tp_traverse_6cytags___pyx_scope_struct_2_genexpr
cytags.c:4795
Function__pyx_tp_traverse_6cytags___pyx_scope_struct_3___iter__
cytags.c:4907
Function__pyx_tp_traverse_6cytags___pyx_scope_struct_4_labelExists
cytags.c:5024
Function__pyx_tp_traverse_6cytags___pyx_scope_struct_5_genexpr
cytags.c:5135
Function__pyx_tp_traverse_6cytags___pyx_scope_struct____iter__
cytags.c:4567
Function__pyx_tp_traverse_7cygraph_FactorGraph
cygraph.c:7579
Function__pyx_tp_traverse_7cygraph___pyx_scope_struct_1_iterFactors
cygraph.c:7938
Function__pyx_tp_traverse_7cygraph___pyx_scope_struct____iter__
cygraph.c:7820
Function__pyx_tp_traverse_7cyutils___pyx_scope_struct_1_genexpr
cyutils.c:17527
Function__pyx_tp_traverse_7cyutils___pyx_scope_struct__unfreeze_dict
cyutils.c:17421
Function__pyx_tp_traverse_9cymessage_Messages
cymessage.c:6521
Function__pyx_tp_traverse_9cymessage___pyx_scope_struct____iter__
cymessage.c:6685
FunctionaddNullLabels
(annot_sents, langs, unique_tags)
utils.py:130
Functionargmax
(vec)
utils.py:280
Methodcalc_likelihood
Calculates sentence likelihood according to Eq (3) from (Sutton, 2007)
factorial_crf_tagger.py:451
FunctioncomputeF1
hyps: List of dicts for predicted morphological tags golds: List of dicts for gold morphological tags
utils.py:361
Functioncreate_sample_data
(tagSize, labelSize, wordCount)
unit.py:13
Functionfind_unique_tags
(train_data_tags, null_label=False)
utils.py:196
Methodforward
(self, sents, gold_tags, word_idxs=None, langs=None, test=False)
factorial_crf_tagger.py:696
Methodforward
(self, word)
models.py:43
Methodforward
words: list of tensors with idxs for each character word_idxs: list of word_idxs
models.py:107
FunctiongetCorrectCount
(golds, hyps)
utils.py:436
MethodgetLabelIdx
(self)
tags.py:100
MethodgetLabelbyIdx
(self, idx)
tags.py:69
MethodgetLabelbyName
(self, name)
tags.py:72
MethodgetLabels
(self)
tags.py:63
MethodgetName
(self)
tags.py:97
MethodgetParentTag
(self)
tags.py:94
MethodgetTagIdx
(self)
tags.py:66
MethodgetVarsByTimestep
(self, t, tagSize)
message.py:51
Functionget_lang_code_dicts
Returns lang_to_code, code_to_lang dictionaries
utils.py:40
Functionget_train_order
:param data: List of tuples of source sentences and morph tags :return: start idxs of batches
utils.py:169
Methodgradient_check
(self, all_factors)
factorial_crf_tagger.py:708
Functionif
cyutils.c:23097
Functionif
cygraph.c:11280
Functionif
cymessage.c:9978
Functionif
cytags.c:8213
FunctionlogDot
(a, b, redAxis=None)
utils.py:309
FunctionlogMax
(a, b, redAxis=None)
utils.py:327
FunctionlogNormalize
(a)
utils.py:346
FunctionlogNormalizeTensor
(a)
utils.py:351
FunctionlogSumExp
(a, b)
utils.py:285
FunctionlogSumExpTensors
(a, b)
utils.py:301
Functionplot_heatmap
(uniqueTags, weights, kind)
utils.py:218
Functionprepare_sequence
(seq, to_ix, gpu=False)
utils.py:268
MethodprintLabels
(self)
tags.py:82
MethodprintTags
(self)
tags.py:33
Functionread_conll
Reads conll formatted file langs: list of languages train: read training data returns: dict with data for each language as list of tu
utils.py:62
Methodsize
(self)
tags.py:20
Functionsortbylength
:param data: List of tuples of source sentences and morph tags :param lang_ids: List of lang IDs for each sentence :param maxlen: Maximum sente
utils.py:149
MethodupdateBelief
(self, value)
message.py:114
MethodupdateValue
(self, value)
message.py:217
← previous1,001–1,071 of 1,071, ranked by callers