Using computational analysis to follow cultural transformations throughout the 19th century