Update extractor.py
Browse files- extractor.py +1 -1
extractor.py
CHANGED
@@ -137,7 +137,7 @@ def predict(text):
|
|
137 |
for links in process_tokens(data, 'URL'):
|
138 |
profile['links'].append(links['text'])
|
139 |
# Process experiences and education
|
140 |
-
for designation, company, experience_desc in zip((process_tokens(data, 'DESIGNATION')),(process_tokens(data, 'COMPANY')),(process_tokens(data, 'EXPERIENCES DESC'))):
|
141 |
profile['experiences'].append({
|
142 |
"start": None,
|
143 |
"end": None,
|
|
|
137 |
for links in process_tokens(data, 'URL'):
|
138 |
profile['links'].append(links['text'])
|
139 |
# Process experiences and education
|
140 |
+
for designation, company, experience_desc in zip(cycle(process_tokens(data, 'DESIGNATION')),cycle(process_tokens(data, 'COMPANY')),(process_tokens(data, 'EXPERIENCES DESC'))):
|
141 |
profile['experiences'].append({
|
142 |
"start": None,
|
143 |
"end": None,
|