Text this: Principal component analysis as a tool for library design