Spaces:
Sleeping
Sleeping
File size: 314 Bytes
4863e60 | 1 2 3 4 5 6 7 8 | 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))
|