Implemented phrase division in sets of terms, saving and loading of this structure. It is needed to assign colors to terms.