I was trying to figure out how to split and save a text into different sentences in python based on various periods, like , . ? !
. But some text has decimal points and re.split
considers that as a period. I was wondering how I can get around that? any help would be appreciated!
Eg text:
A 0.75-in-diameter steel tension rod is 4.8 ft long and carries a load of 13.5 kip. Find the tensile stress, the total deformation, the unit strains, and the change in the rod diameter.