Машинное обучение: как найти недостающую информацию - PullRequest
0 голосов
/ 17 февраля 2020
def process_text(title):
nopunc = [char for char in text if char not in string.punctuation]
nopunc = ''.join(nopunc)
clean_texts = [word for word in nopunc.split() if word.lower() not in stopwords.words('english']
return clean_texts

  File "<ipython-input-34-7ad84bab21d6>", line 3
    nopunc = [char for char in text if char not in string.punctuation]
         ^
IndentationError: expected an indented block

Я новичок в машинном обучении и может кто-нибудь сказать мне, что вызывает эту проблему

...