Algorithm of automatic selection of collocations from the text