Using computer-based text corpora to analyze the referential strategies of spoken and written texts