Automatic identification of lexical units