Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What's going on here? Thank you! #19

Open
lfzx opened this issue Mar 16, 2019 · 4 comments
Open

What's going on here? Thank you! #19

lfzx opened this issue Mar 16, 2019 · 4 comments

Comments

@lfzx
Copy link

lfzx commented Mar 16, 2019

image
image

@pickfire
Copy link

pickfire commented Apr 5, 2019

@lfzx Please go to http://localhost:5000/ instead. 0.0.0.0 shows that it is hosting for any address.

@lfzx
Copy link
Author

lfzx commented Apr 9, 2019

@lfzx请转到http:// localhost:5000 /0.0.0.0表明它托管任何地址。

What is the specific implementation idea in this project? I don't know the process? Is it only judged by Job_Description? Suppose I want to match other fields? (For example, the salary in the job information matches the salary in the resume)

@pickfire
Copy link

pickfire commented Apr 9, 2019

这个项目的具体实施思路是什么? 我不知道这个过程? 它仅由Job_Description判断? 假设我想匹配其他字段? (例如,工作信息中的工资与简历中的工资相匹配)

Not written in README but should be found in the code and it is only judged by job description as for now, if you want an easy way just fill up Job_Description. Feel free to contribute.

os.chdir('../')
for i in Resumes:
text = i
tttt = str(text)
try:
tttt = summarize(tttt, word_count=100)
text = [tttt]
vector = vectorizer.transform(text)
aaa = vector.toarray()
Resume_Vector.append(vector.toarray())
except:
pass
# print(Resume_Vector)
for i in Resume_Vector:
samples = i
neigh = NearestNeighbors(n_neighbors=1)
neigh.fit(samples)
NearestNeighbors(algorithm='auto', leaf_size=30)
Ordered_list_Resume_Score.extend(neigh.kneighbors(Job_Desc)[0][0].tolist())
Z = [x for _,x in sorted(zip(Ordered_list_Resume_Score,Ordered_list_Resume))]
print(Ordered_list_Resume)
print(Ordered_list_Resume_Score)
flask_return = []
# for n,i in enumerate(Z):
# print("Rankkkkk\t" , n+1, ":\t" , i)
for n,i in enumerate(Z):
# print("Rank\t" , n+1, ":\t" , i)
# flask_return.append(str("Rank\t" , n+1, ":\t" , i))
name = getfilepath(i)
#name = name.split('.')[0]
rank = n+1
res = ResultElement(rank, name)
flask_return.append(res)
# res.printresult()
print(f"Rank{res.rank+1} :\t {res.filename}")
return flask_return

无需翻译,代码如上。添加内容?简单,丢入 Job_Description。

@lfzx
Copy link
Author

lfzx commented Apr 9, 2019

Not written in README but should be found in the code and it is only judged by job description as for now, if you want an easy way just fill up Job_Description. Feel free to contribute.

谢谢啦,那我再看看~~(反应速度太慢,是我本地环境问题吗?
image
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants