Text this: Modeling space in historical texts