import re

text = ''.join(open('miyagi.txt').readlines())
sentences = re.split(r"(?<=[^A-Z].[.?]) +(?=[A-Z])", text)

for i in sentences:
    print(i)


4e43a970c70a8765ccfc1a4568906e4fbb99f355
<mask token>

<mask token>
for i in sentences:
    print(i)

<mask token>
text = ''.join(open('miyagi.txt').readlines())
sentences = re.split('(?<=[^A-Z].[.?]) +(?=[A-Z])', text)
for i in sentences:
    print(i)

import re
text = ''.join(open('miyagi.txt').readlines())
sentences = re.split('(?<=[^A-Z].[.?]) +(?=[A-Z])', text)
for i in sentences:
    print(i)

import re

text = ''.join(open('miyagi.txt').readlines())
sentences = re.split(r"(?<=[^A-Z].[.?]) +(?=[A-Z])", text)

for i in sentences:
    print(i)

