Extracts character names from a text file and performs analysis of text sentences containing the names.