find longest work in sentence