Lexical pattern extractor to generate patterns and target words from a seed list