sgnlp
Quickstart
Advanced Tutorial
API Reference
models
csgec
emotion_entailment
lsr
rst_pointer
rumour_detection_twitter
sentic_gcn
span_extraction
config
data_class
eval
evaluate_squad
modeling
postprocess
preprocess
tokenization
train
utils
ufd
utils
sgnlp
»
sgnlp
»
models
»
span_extraction
»
evaluate_squad
»
sgnlp.models.span_extraction.evaluate_squad.normalize_answer
View page source
sgnlp.models.span_extraction.evaluate_squad.normalize_answer
¶
normalize_answer
(
s
)
[source]
¶
Lower text and remove punctuation, articles and extra whitespace.