在下面的示例中,我们使用函数sent_tokenize将给定文本划分为不同的行。 import nltk sentence_data = "The First sentence is about Python. The Second: about Django ...
確定! 回上一頁