sgnlp
Quickstart
Advanced Tutorial
API Reference
models
csgec
emotion_entailment
lsr
rst_pointer
config
data_class
data_prep
eval
modeling
modules
postprocess
preprocess
train
utils
rumour_detection_twitter
sentic_gcn
span_extraction
ufd
utils
sgnlp
»
sgnlp
»
models
»
rst_pointer
»
utils
»
sgnlp.models.rst_pointer.utils.get_relation_and_nucleus
View page source
sgnlp.models.rst_pointer.utils.get_relation_and_nucleus
¶
get_relation_and_nucleus
(
label_index
)
[source]
¶