Automatically sync text to video for subtitles
What you're looking for might be something like ScriptSync. It used to be included with Avid's Media Composer. These days you need to purchase it separately.

http://www.avid.com/US/industries/workflow/Scriptbased-Editing