Text this: A maximal tractable class of soft constraints