Text this: A Framework for analyzing institutions