gender_culture_diverse_name returns nothing on some inputs
sebastianGehrmann opened this issue · comments
Sebastian Gehrmann commented
I just tried your transformation on some summarization inputs and it returns nothing there. I believe there may be an issue if a document does not include any entities.
Xudong Shen commented
That is true. I thought it's better to return nothing, instead of the input sentence. If returning the input sentence, it might confuse that the output has been transformed.
If you think returning the input sentence is more desirable, I can quickly code it up.