Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chaitanyamalaviya/NeuralFactorGraph
/ functions
Functions
1,071 in github.com/chaitanyamalaviya/NeuralFactorGraph
⨍
Functions
1,071
◇
Types & classes
44
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
Function
addNullLabels
(annot_sents, langs, unique_tags)
utils.py:130
Function
argmax
(vec)
utils.py:280
Method
calc_likelihood
Calculates sentence likelihood according to Eq (3) from (Sutton, 2007)
factorial_crf_tagger.py:451
Function
computeF1
hyps: List of dicts for predicted morphological tags golds: List of dicts for gold morphological tags
utils.py:361
Function
create_sample_data
(tagSize, labelSize, wordCount)
unit.py:13
Function
find_unique_tags
(train_data_tags, null_label=False)
utils.py:196
Method
forward
(self, sents, gold_tags, word_idxs=None, langs=None, test=False)
factorial_crf_tagger.py:696
Method
forward
(self, word)
models.py:43
Method
forward
words: list of tensors with idxs for each character word_idxs: list of word_idxs
models.py:107
Function
getCorrectCount
(golds, hyps)
utils.py:436
Method
getLabelIdx
(self)
tags.py:100
Method
getLabelbyIdx
(self, idx)
tags.py:69
Method
getLabelbyName
(self, name)
tags.py:72
Method
getLabels
(self)
tags.py:63
Method
getName
(self)
tags.py:97
Method
getParentTag
(self)
tags.py:94
Method
getTagIdx
(self)
tags.py:66
Method
getVarsByTimestep
(self, t, tagSize)
message.py:51
Function
get_lang_code_dicts
Returns lang_to_code, code_to_lang dictionaries
utils.py:40
Function
get_train_order
:param data: List of tuples of source sentences and morph tags :return: start idxs of batches
utils.py:169
Method
gradient_check
(self, all_factors)
factorial_crf_tagger.py:708
Function
if
cyutils.c:23097
Function
if
cygraph.c:11280
Function
if
cymessage.c:9978
Function
if
cytags.c:8213
Function
logDot
(a, b, redAxis=None)
utils.py:309
Function
logMax
(a, b, redAxis=None)
utils.py:327
Function
logNormalize
(a)
utils.py:346
Function
logNormalizeTensor
(a)
utils.py:351
Function
logSumExp
(a, b)
utils.py:285
Function
logSumExpTensors
(a, b)
utils.py:301
Function
plot_heatmap
(uniqueTags, weights, kind)
utils.py:218
Function
prepare_sequence
(seq, to_ix, gpu=False)
utils.py:268
Method
printLabels
(self)
tags.py:82
Method
printTags
(self)
tags.py:33
Function
read_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
Method
size
(self)
tags.py:20
Function
sortbylength
: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
Method
updateBelief
(self, value)
message.py:114
Method
updateValue
(self, value)
message.py:217
← previous
1,001–1,071 of 1,071, ranked by callers