Thursday, 11 November 2021

How can I convert convert Direct speech to Indirect Speech in Python?

I am working on a project to create summaries from call transcripts utilizing Extractive Summarization. Since extractive summarization is picking key sentences from call transcripts they are in direct speech.

Example:

"I am facing issue with my laptop and I would like to get it replaced" to "Customer was facing issue with laptop and he would like to get his laptop replaced"

I have tried looking for various resources, code or Library and the only thing that comes closest is one python library "Despeech" https://pypi.org/project/despeech/ but it is for German Language. I am unable to find something similar for English language.



from How can I convert convert Direct speech to Indirect Speech in Python?

No comments:

Post a Comment