我想把我的绳子分成几个句子.
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(',')
输出:
['My cat is a great cat', ' this is very nice', ' you are doing great job']
但我希望这个输出是
['My cat is a great cat'] ['this is very nice'] ['you are doing great job']
有可能吗??