Graph4NLP
Get Started
Install Graph4NLP
User Guide
Chapter 1. Graph Data
Chapter 2. Dataset
Chapter 3. Graph Construction
Chapter 4. Graph Encoder
Chapter 5. Decoder
Chapter 6. Classification
Chapter 7. Evaluations and Loss components
Module API references
graph4nlp.data
graph4nlp.datasets
graph4nlp.graph_construction
graph4nlp.graph_embedding
graph4nlp.prediction
graph4nlp.loss
graph4nlp.evaluation
Tutorials
Text Classification Tutorial
Semantic Parsing Tutorial
Math Word Problem Tutorial
Knowledge Graph Completion Tutorial
Graph4NLP
»
Index
Index
A
|
B
|
C
|
D
|
E
|
F
|
G
|
I
|
J
|
K
|
M
|
N
|
P
|
R
|
S
|
T
|
V
A
add_edge() (graph4nlp.data.data.GraphData method)
add_edges() (graph4nlp.data.data.GraphData method)
add_nodes() (graph4nlp.data.data.GraphData method)
add_vocab() (graph4nlp.graph_construction.DependencyBasedGraphConstruction method)
(graph4nlp.graph_construction.IEBasedGraphConstruction method)
adj_matrix() (graph4nlp.data.data.GraphData method)
AvgPooling (class in graph4nlp.prediction.classification.graph_classification)
B
batch_edge_features() (graph4nlp.data.data.GraphData property)
batch_node_features() (graph4nlp.data.data.GraphData property)
BiLSTMFeedForwardNN (class in graph4nlp.prediction.classification.node_classification)
BiLSTMFeedForwardNNLayer (class in graph4nlp.prediction.classification.node_classification)
BLEU (class in graph4nlp.evaluation)
build_topology() (graph4nlp.data.dataset.Dataset method)
,
[1]
(graph4nlp.data.dataset.KGCompletionDataset method)
build_vocab() (graph4nlp.data.dataset.Dataset method)
,
[1]
(graph4nlp.data.dataset.KGCompletionDataset method)
(graph4nlp.data.dataset.SequenceLabelingDataset method)
(graph4nlp.data.dataset.Text2LabelDataset method)
,
[1]
(graph4nlp.data.dataset.Text2TreeDataset method)
C
calculate_scores() (graph4nlp.evaluation.BLEU method)
(graph4nlp.evaluation.CIDEr method)
(graph4nlp.evaluation.METEOR method)
(graph4nlp.evaluation.ROUGE method)
CIDEr (class in graph4nlp.evaluation)
collate_fn() (graph4nlp.data.dataset.Dataset static method)
,
[1]
(graph4nlp.data.dataset.DoubleText2TextDataset static method)
(graph4nlp.data.dataset.KGCompletionDataset static method)
(graph4nlp.data.dataset.SequenceLabelingDataset static method)
(graph4nlp.data.dataset.Text2LabelDataset static method)
,
[1]
(graph4nlp.data.dataset.Text2TextDataset static method)
(graph4nlp.data.dataset.Text2TreeDataset static method)
ComplEx (class in graph4nlp.prediction.classification.kg_completion)
ComplExLayer (class in graph4nlp.prediction.classification.kg_completion)
ConcatFeedForwardNN (class in graph4nlp.prediction.classification.link_prediction)
ConcatFeedForwardNNLayer (class in graph4nlp.prediction.classification.link_prediction)
ConstituencyBasedGraphConstruction (class in graph4nlp.graph_construction)
copy_batch_info() (graph4nlp.data.data.GraphData method)
CoverageLoss (class in graph4nlp.loss)
D
Dataset (class in graph4nlp.data.dataset)
,
[1]
decode_step() (graph4nlp.prediction.generation.StdRNNDecoder method)
(graph4nlp.prediction.generation.StdTreeDecoder method)
DecoderStrategy (class in graph4nlp.prediction.generation)
DependencyBasedGraphConstruction (class in graph4nlp.graph_construction)
DistMult (class in graph4nlp.prediction.classification.kg_completion)
DistMultLayer (class in graph4nlp.prediction.classification.kg_completion)
DoubleText2TextDataset (class in graph4nlp.data.dataset)
download() (graph4nlp.data.dataset.Dataset method)
,
[1]
(graph4nlp.datasets.GeoDatasetForTree method)
(graph4nlp.datasets.JobsDataset method)
(graph4nlp.datasets.JobsDatasetForTree method)
(graph4nlp.datasets.KinshipDataset method)
(graph4nlp.datasets.MawpsDatasetForTree method)
(graph4nlp.datasets.SQuADDataset method)
(graph4nlp.datasets.TrecDataset method)
dynamic_topology() (graph4nlp.graph_construction.NodeEmbeddingBasedGraphConstruction method)
(graph4nlp.graph_construction.NodeEmbeddingBasedRefinedGraphConstruction method)
E
edge_attributes() (graph4nlp.data.data.GraphData property)
edge_features() (graph4nlp.data.data.GraphData property)
edge_ids() (graph4nlp.data.data.GraphData method)
edges() (graph4nlp.data.data.GraphData property)
ElementSum (class in graph4nlp.prediction.classification.link_prediction)
ElementSumLayer (class in graph4nlp.prediction.classification.link_prediction)
extract_params() (graph4nlp.prediction.generation.StdRNNDecoder method)
F
FeedForwardNN (class in graph4nlp.prediction.classification.graph_classification)
(class in graph4nlp.prediction.classification.node_classification)
FeedForwardNNLayer (class in graph4nlp.prediction.classification.node_classification)
forward() (graph4nlp.loss.CoverageLoss method)
(graph4nlp.loss.GeneralLoss method)
(graph4nlp.loss.KGLoss method)
(graph4nlp.loss.SeqGenerationLoss method)
(graph4nlp.prediction.classification.graph_classification.AvgPooling method)
(graph4nlp.prediction.classification.graph_classification.FeedForwardNN method)
(graph4nlp.prediction.classification.kg_completion.ComplEx method)
(graph4nlp.prediction.classification.kg_completion.ComplExLayer method)
(graph4nlp.prediction.classification.kg_completion.DistMult method)
(graph4nlp.prediction.classification.kg_completion.DistMultLayer method)
(graph4nlp.prediction.classification.link_prediction.ConcatFeedForwardNN method)
(graph4nlp.prediction.classification.link_prediction.ConcatFeedForwardNNLayer method)
(graph4nlp.prediction.classification.link_prediction.ElementSum method)
(graph4nlp.prediction.classification.link_prediction.ElementSumLayer method)
(graph4nlp.prediction.classification.link_prediction.StackedElementProd method)
(graph4nlp.prediction.classification.link_prediction.StackedElementProdLayer method)
(graph4nlp.prediction.classification.node_classification.BiLSTMFeedForwardNN method)
(graph4nlp.prediction.classification.node_classification.BiLSTMFeedForwardNNLayer method)
(graph4nlp.prediction.classification.node_classification.FeedForwardNN method)
(graph4nlp.prediction.classification.node_classification.FeedForwardNNLayer method)
(graph4nlp.prediction.generation.StdRNNDecoder method)
(graph4nlp.prediction.generation.StdTreeDecoder method)
from_dense_adj() (graph4nlp.data.data.GraphData method)
from_dgl() (graph4nlp.data.data.GraphData method)
from_graphdata() (graph4nlp.data.data.GraphData method)
from_scipy_sparse_matrix() (graph4nlp.data.data.GraphData method)
G
GeneralLoss (class in graph4nlp.loss)
generate() (graph4nlp.prediction.generation.DecoderStrategy method)
GeoDatasetForTree (class in graph4nlp.datasets)
get_all_edges() (graph4nlp.data.data.GraphData method)
get_decoder_init_state() (graph4nlp.prediction.generation.StdRNNDecoder method)
get_edge_feature() (graph4nlp.data.data.GraphData method)
get_edge_feature_names() (graph4nlp.data.data.GraphData method)
get_edge_num() (graph4nlp.data.data.GraphData method)
get_node_attrs() (graph4nlp.data.data.GraphData method)
get_node_features() (graph4nlp.data.data.GraphData method)
get_node_num() (graph4nlp.data.data.GraphData method)
graph4nlp.data.data (module)
graph4nlp.data.dataset (module)
graph4nlp.datasets (module)
graph4nlp.evaluation (module)
graph4nlp.graph_construction (module)
graph4nlp.loss (module)
graph4nlp.prediction (module)
graph4nlp.prediction.classification (module)
graph4nlp.prediction.classification.graph_classification (module)
graph4nlp.prediction.classification.kg_completion (module)
graph4nlp.prediction.classification.link_prediction (module)
graph4nlp.prediction.classification.node_classification (module)
graph4nlp.prediction.generation (module)
GraphData (class in graph4nlp.data.data)
I
IEBasedGraphConstruction (class in graph4nlp.graph_construction)
init_topology() (graph4nlp.graph_construction.NodeEmbeddingBasedGraphConstruction class method)
(graph4nlp.graph_construction.NodeEmbeddingBasedRefinedGraphConstruction class method)
J
JobsDataset (class in graph4nlp.datasets)
JobsDatasetForTree (class in graph4nlp.datasets)
K
KGCompletionDataset (class in graph4nlp.data.dataset)
KGLoss (class in graph4nlp.loss)
KinshipDataset (class in graph4nlp.datasets)
M
MawpsDatasetForTree (class in graph4nlp.datasets)
METEOR (class in graph4nlp.evaluation)
N
node_attributes() (graph4nlp.data.data.GraphData property)
node_feature_names() (graph4nlp.data.data.GraphData method)
node_features() (graph4nlp.data.data.GraphData property)
NodeEmbeddingBasedGraphConstruction (class in graph4nlp.graph_construction)
NodeEmbeddingBasedRefinedGraphConstruction (class in graph4nlp.graph_construction)
nodes() (graph4nlp.data.data.GraphData property)
P
parse_file() (graph4nlp.data.dataset.Dataset method)
,
[1]
(graph4nlp.data.dataset.DoubleText2TextDataset method)
(graph4nlp.data.dataset.KGCompletionDataset method)
(graph4nlp.data.dataset.SequenceLabelingDataset method)
(graph4nlp.data.dataset.Text2LabelDataset method)
,
[1]
(graph4nlp.data.dataset.Text2TextDataset method)
(graph4nlp.data.dataset.Text2TreeDataset method)
parsing() (graph4nlp.graph_construction.ConstituencyBasedGraphConstruction class method)
(graph4nlp.graph_construction.DependencyBasedGraphConstruction class method)
(graph4nlp.graph_construction.IEBasedGraphConstruction class method)
processed_file_names() (graph4nlp.datasets.GeoDatasetForTree property)
(graph4nlp.datasets.JobsDataset property)
(graph4nlp.datasets.JobsDatasetForTree property)
(graph4nlp.datasets.KinshipDataset property)
(graph4nlp.datasets.MawpsDatasetForTree property)
(graph4nlp.datasets.SQuADDataset property)
(graph4nlp.datasets.TrecDataset property)
R
raw_dir() (graph4nlp.data.dataset.Dataset property)
,
[1]
(graph4nlp.datasets.KinshipDataset property)
raw_file_names() (graph4nlp.datasets.GeoDatasetForTree property)
(graph4nlp.datasets.JobsDataset property)
(graph4nlp.datasets.JobsDatasetForTree property)
(graph4nlp.datasets.KinshipDataset property)
(graph4nlp.datasets.MawpsDatasetForTree property)
(graph4nlp.datasets.SQuADDataset property)
(graph4nlp.datasets.TrecDataset property)
raw_file_paths() (graph4nlp.data.dataset.Dataset property)
,
[1]
read_raw_data() (graph4nlp.data.dataset.Dataset method)
,
[1]
(graph4nlp.data.dataset.KGCompletionDataset method)
remove_all_edges() (graph4nlp.data.data.GraphData method)
ROUGE (class in graph4nlp.evaluation)
S
SeqGenerationLoss (class in graph4nlp.loss)
SequenceLabelingDataset (class in graph4nlp.data.dataset)
set_edge_feature() (graph4nlp.data.data.GraphData method)
set_node_features() (graph4nlp.data.data.GraphData method)
sparse_adj() (graph4nlp.data.data.GraphData method)
split_features() (graph4nlp.data.data.GraphData method)
SQuADDataset (class in graph4nlp.datasets)
StackedElementProd (class in graph4nlp.prediction.classification.link_prediction)
StackedElementProdLayer (class in graph4nlp.prediction.classification.link_prediction)
static_topology() (graph4nlp.graph_construction.ConstituencyBasedGraphConstruction class method)
(graph4nlp.graph_construction.DependencyBasedGraphConstruction class method)
(graph4nlp.graph_construction.IEBasedGraphConstruction class method)
StdRNNDecoder (class in graph4nlp.prediction.generation)
StdTreeDecoder (class in graph4nlp.prediction.generation)
T
Text2LabelDataset (class in graph4nlp.data.dataset)
,
[1]
Text2TextDataset (class in graph4nlp.data.dataset)
Text2TreeDataset (class in graph4nlp.data.dataset)
to() (graph4nlp.data.data.GraphData method)
to_batch() (in module graph4nlp.data.data)
to_dgl() (graph4nlp.data.data.GraphData method)
TrecDataset (class in graph4nlp.datasets)
V
vectorization() (graph4nlp.data.dataset.Dataset method)
,
[1]
(graph4nlp.data.dataset.DoubleText2TextDataset method)
(graph4nlp.data.dataset.KGCompletionDataset method)
(graph4nlp.data.dataset.SequenceLabelingDataset method)
(graph4nlp.data.dataset.Text2LabelDataset method)
,
[1]
(graph4nlp.data.dataset.Text2TextDataset method)
(graph4nlp.data.dataset.Text2TreeDataset method)