import re def extract_keywords_from_jd(jd_text): words = re.findall(r'\b\w+\b', jd_text.lower()) stopwords = set(['the', 'and', 'to', 'in', 'of', 'for', 'a', 'with', 'is', 'on', 'as', 'an']) keywords = [word for word in words if word not in stopwords and len(word) > 2] return list(set(keywords))