Text this: Classes of submodular constraints expressible by graph cuts