下面是我尝试的示例,我尝试添加句点(.)和感叹号(!)在句子的不同位置。我得到了不同的输出,有人能解释一下吗?带句点(.)
select sentences('Tokenizes a string of natural language text into words and sentences. where
我对python (和这个社区)来说相当陌生,这是一个从很久以前来自的问题中分叉出来的问题['hello', '...', 'h3.a', 'ds4,']x = [''.join(c for c in s if c not in string.punctuation) for s in x]print(x)['hell