I heard an interview with Hanks the other day where they played a clip of his accent in the movie and then a clip of the real Captain Philips talking and I think Hanks got it real close. They were even commenting on how Philips accent was a strange combination of New England accents.