I wnat to make preprocessing for Weka arff file which contains 2000 lines for nlp project (sentiment analysis)
I want a code that just add a single quotation at the start and end of each sentence. for example this is a sample for my dataset:
The Da Vinci Code is one of the most beautiful movies ive ever seen.,1
The Da Vinci Code is an * amazing * book, do not get me wrong.,1
then I turn on the light and the radio and enjoy my Da Vinci Code.,1
The Da Vinci Code was REALLY good.,1
i love da vinci code....,1
I want the output to be:
'The Da Vinci Code is one of the most beautiful movies ive ever seen.',1
'The Da Vinci Code is an * amazing * book, do not get me wrong.',1
'then I turn on the light and the radio and enjoy my Da Vinci Code.',1
'The Da Vinci Code was REALLY good.',1
'i love da vinci code....',1
Just want to add a single quotation at the beginning and end of each sentence (before the 1 ).
I would really appreciate it if you help me do it
Is there any tool that I can use instead of writing a code?