CoolFace
Apppublic

yfyangd/PaperSimilarity

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
0likes
README.md54 linesDownload Raw Back to root
1---2title: PaperSimilarity3emoji: πŸ‘4colorFrom: yellow5colorTo: red6sdk: gradio7sdk_version: 4.36.18app_file: app.py9pinned: false10license: apache-2.011---12 13# PaperSimilairty14## Background15National Taiwan University on Tuesday (August 9) announced a decision to rescind a master's degree it gave to Lin Chih-chien (ζž—ζ™Ίε …) in 2017, citing plagiarism after a meeting by the school's academic ethics committee.16 17The review meeting was held in late July and committee members decided to conduct a probe into plagiarism allegations against Lin, Taoyuan candidate of the Democratic Progressive Party (DPP) for the local elections in November. The committee members advised that Lin should be stripped of his master's degree, a decision later approved by the school's Office of Academic Affairs, according to the statement.18 19The school explained it received multiple plagiarism complaints against Lin since early July and the committee later convened to launch the probe, "in due process with no delay." The committee also collaborated with a third party comprised of scholars and experts in the field and hosted interviews with stakeholders, including Lin himself and the victim, before making the conclusion.20 21"The act sullied the reputation of National Taiwan University...and the school will reinforce the importance of academic integrity and ethics, not letting it happen again."22 23In this study, we proposed machine learning method to analyze the similarity between Mr. Lin and Mr. Yu's papers. Provide an objective indicator for your reference.24 25News: https://news.pts.org.tw/article/59430726 27## Method28```Jaccard Similarity``` ref: https://medium.com/data-science-bootcamp/understand-jaccard-index-jaccard-similarity-in-minutes-25a703fbf9d729 30```Cosine Similarity``` ref: https://medium.com/geekculture/cosine-similarity-and-cosine-distance-48eed889a5c431 32```Persion Similarity``` ref: https://medium.com/@cavaldovinos/human-pose-estimation-pose-similarity-dc8bf9f7855633 34 35## Install dependencies36 37```38python -m pip install -r requirements.txt39```40 41This code was tested with python 3.742 43## Code44```Paper_Similarity.ipynb``` is the detailed program explanation, including data exporatlion, data preprocess, model.45 46```demo.py``` is the demo file of 3 type of similarity search. Please follow the below scrips. ```Lin.txt``` and ```Yu.txt``` can be replaced with the papers you want to review. But please follow the " Paper_Similarity.ipynb " first to convert the file type from pdf to txt.47 48```49sim = TextSimilarity('/Lin.txt','/Yu.txt')50sim.JaccardSim(a.str_a,a.str_b)51# Out[20]: 0.3818864062766501652 53sim.splitWordSimlaryty(a.str_a,a.str_b,sim=a.cos_sim)54# Out[21]: 0.9356422914890785