an integer vector of the starting lines of each story
Arguments
titles.vec
is a character string containing the full path name for a text file containing the titles of the stories in the same order that they appear in the texts file
texts.vec
is a character string containing the full path name for a text file containing the full texts of all of the stories
toupper
is a Boolean TRUE if the titles should be converted to upper case
Details
each title in titles.vec must appear on a single line
in titles.vec and texts.vec -
a title cannot be split across multiple lines.
each title must only appear one time within titles.vec and texts.vec