Text this: Modeling politics with economic tools