I want to split my string in separate sentences. My code is below
import tensorflow as tf
import pandas as pd
text = 'My cat is a great cat, this is very nice, you are doing great job'
text = text.split(',')
Output:
['My cat is a great cat', ' this is very nice', ' you are doing great job']
But I want this output to be
['My cat is a great cat'] ['this is very nice'] ['you are doing great job']
is it possible??