Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vivek1240/50f347b979d54f4236ad9486bbe55439 to your computer and use it in GitHub Desktop.
Save vivek1240/50f347b979d54f4236ad9486bbe55439 to your computer and use it in GitHub Desktop.
data= str('I have made a flight booking on Yatra. My PNR No are S6ZF2Y . I had booked a return flight for both the PNR. The outbound flight i.eรย "BOM -TRV"รย had been cancelled by the airways and the full amount has been credited back to my account.รย Now the Inbound flight i.e."รย TRV -รย BOM " has also been cancelled by the airways and the full amount has been processed to the yatra account on 24th Feb 2020. So I want you to refund me the amount ASAP. When would I get the refund back?Waiting for your reply')
data_words= cleaning_new_text(data)
data= TreebankWordDetokenizer().detokenize(data_words)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment