long_word_list = (
    'some one long two phrase three about above along after against')
long_word_set = set(long_word_list.split())
set('word along river'.split()) & long_word_set
Check list of words in another string