simple utils to extract words from sentences and compare them