У меня есть текстовый файл. Мне нужен список предложений.
Как это можно реализовать? В аббревиатурах используется множество тонкостей, таких как точка.
Мой старый regexp работает плохо.
re.compile('(\. |^|!|\?)([A-Z][^;↑\.<>@\^&/\[\]]*(\.|!|\?) )',re.M)