Сообщество IT-специалистов
Ответы на любые вопросы об IT
Профессиональное развитие в IT
Удаленная работа для IT-специалистов
from textblob import TextBlob with open('tetxfile.txt') as f: text = f.read() blob = TextBlob(text) print(len((blob.sentences)))
itertools groupby() collections counter()
i.speech=p.POS; i.gender=p.gender; i.case=p.case; i.number=p.number