Optimizing text representations to capture (dis)similarity between political parties