Spatial Regularization for Analysis of Text and Epidemiological Data