The line from Axminster in Devon and Crewkerne in Somerset is closed because of flooding.