Text Mining for Historical Analysis