Web-based Semantic Similarity Checker using Sentence-BERT

preprint OA: closed
Full text JSON View at publisher
Full text 10,174 characters · extracted from preprint-html · click to expand
Web-based Semantic Similarity Checker using Sentence-BERT | Research Square window.SnipcartSettings = { analytics: { enabled: false } }; (function() { var accessVector = localStorage.getItem('access_vector') || ''; window.dataLayer = window.dataLayer || []; if (accessVector) { window.dataLayer.push({ user: { profile: { profileInfo: { snid: accessVector } } } }); } })(); (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-K279D39R'); Browse Preprints In Review Journals COVID-19 Preprints AJE Video Bytes Research Tools Research Promotion AJE Professional Editing AJE Rubriq About Preprint Platform In Review Editorial Policies Our Team Advisory Board Help Center Sign In Submit a Preprint Cite Share Download PDF Research Article Web-based Semantic Similarity Checker using Sentence-BERT Nirmit Shah, Nikhil Mohite, Karan Shah, Nilkamal More This is a preprint; it has not been peer reviewed by a journal. https://doi.org/ 10.21203/rs.3.rs-9049688/v1 This work is licensed under a CC BY 4.0 License Status: Posted Version 1 posted You are reading this latest preprint version Abstract The increasing need to have effective tools to evaluate the semantic similarity of sentences has been driven by the ever-increasing rate of information in the digital world in the form of text. This paper proposes the design and implementation of an efficient and effective web-based tool to calculate the semantic similarity of sentences in real-time using the power of transformer models on the web. This tool has been built using the Sentence-BERT model, which is specifically the all-MiniLM-L6-v2 model, to calculate the semantic similarity of sentences using the cosine similarity measure. This tool has been built using the Flask web development framework to allow users to input two sentences and calculate the similarity in real-time. The contribution of this work is the demonstration of the efficient and effective implementation of pre-trained transformer models on the web without the need to fine-tune the model on the GPU to calculate the semantic similarity of sentences, which has been demonstrated to be effective in the results to calculate the semantic similarity of sentences in the context of plagiarism detection and content analysis. Sentence-BERT Semantic Similarity Natural Language Processing (NLP) Cosine Similarity Web-based Application Full Text Additional Declarations No competing interests reported. Cite Share Download PDF Status: Posted Version 1 posted You are reading this latest preprint version Research Square lets you share your work early, gain feedback from the community, and start making changes to your manuscript prior to peer review in a journal. As a division of Research Square Company, we’re committed to making research communication faster, fairer, and more useful. We do this by developing innovative software and high quality services for the global research community. Our growing team is made up of researchers and industry professionals working together to solve the most critical problems facing scientific publishing. Also discoverable on Platform About Our Team In Review Editorial Policies Advisory Board Help Center Resources Author Services Accessibility API Access RSS feed Manage Cookie Preferences © Research Square 2026 | ISSN 2693-5015 (online) Privacy Policy Terms of Service Do Not Sell My Personal Information {"props":{"pageProps":{"initialData":{"identity":"rs-9049688","acceptedTermsAndConditions":true,"allowDirectSubmit":true,"archivedVersions":[],"articleType":"Research Article","associatedPublications":[],"authors":[{"id":602190171,"identity":"5c3c4aa8-cda8-49a2-9002-9c7a1461d828","order_by":0,"name":"Nirmit Shah","email":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAAyAQMAAABI0h/eAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA9ElEQVRIiWNgGAWjYDACZiBOAGIDBh7GByABNgYEiUdLAlgLswFxWsAAooVNAiGCR4s5O+/TDQ9/MNibs589VvmjYps8n0TyA4YPZYdxarFsZje7AXRY4s6evLTbPGduG7ZJpBkwzjiHW4vBYTY2kJYEgwM5ZrcZ24BIIsGAmbeNsBZ7g/NvzAp/tt22b5NI/8D8lwgtjBtu5Jgx8LbdTmyTyDFgZiSoJU0iccONN8bSQL8kt/G8KTjYcy4dt5bzx9hu/rCxATosx/Djj4rbtvPb0zc++FFmjVMLFCDFCINAAsMBQurRAD+pGkbBKBgFo2C4AwDN4VYVORjfPAAAAABJRU5ErkJggg==","orcid":"","institution":"K.J. Somaiya School of Engineering","correspondingAuthor":true,"prefix":"","firstName":"Nirmit","middleName":"","lastName":"Shah","suffix":""},{"id":602190174,"identity":"1e2d5c91-83fe-4c31-8b3d-627e6d8dd73e","order_by":1,"name":"Nikhil Mohite","email":"","orcid":"","institution":"K.J. Somaiya School of Engineering","correspondingAuthor":false,"prefix":"","firstName":"Nikhil","middleName":"","lastName":"Mohite","suffix":""},{"id":602190176,"identity":"af717b39-3569-4482-9ea9-5c7baa74501b","order_by":2,"name":"Karan Shah","email":"","orcid":"","institution":"K.J. Somaiya School of Engineering","correspondingAuthor":false,"prefix":"","firstName":"Karan","middleName":"","lastName":"Shah","suffix":""},{"id":602190177,"identity":"c87c4209-5fe7-44fa-acf1-4e706d259661","order_by":3,"name":"Nilkamal More","email":"","orcid":"","institution":"K.J. Somaiya School of Engineering","correspondingAuthor":false,"prefix":"","firstName":"Nilkamal","middleName":"","lastName":"More","suffix":""}],"badges":[],"createdAt":"2026-03-06 10:54:29","currentVersionCode":1,"declarations":"","doi":"10.21203/rs.3.rs-9049688/v1","doiUrl":"https://doi.org/10.21203/rs.3.rs-9049688/v1","draftVersion":[],"editorialEvents":[],"editorialNote":"","failedWorkflow":false,"files":[{"id":104808717,"identity":"23fc1625-c38b-4877-a567-d45dd0aeb275","added_by":"auto","created_at":"2026-03-17 12:39:37","extension":"pdf","order_by":1,"title":"","display":"","copyAsset":false,"role":"manuscript-pdf","size":356951,"visible":true,"origin":"","legend":"","description":"","filename":"WebbasedSemanticSimilarityCheck3.pdf","url":"https://assets-eu.researchsquare.com/files/rs-9049688/v1_covered_6778a752-e07d-4145-8930-94d76c3e225e.pdf"}],"financialInterests":"No competing interests reported.","formattedTitle":"Web-based Semantic Similarity Checker using Sentence-BERT","fulltext":[],"fulltextSource":"","fullText":"","funders":[],"hasAdminPriorityOnWorkflow":false,"hasManuscriptDocX":false,"hasOptedInToPreprint":true,"hasPassedJournalQc":"","hasAnyPriority":true,"hideJournal":true,"highlight":"","institution":"","isAcceptedByJournal":false,"isAuthorSuppliedPdf":true,"isDeskRejected":"","isHiddenFromSearch":false,"isInQc":false,"isInWorkflow":false,"isPdf":true,"isPdfUpToDate":true,"isWithdrawnOrRetracted":false,"journal":{"display":true,"email":"[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true},"keywords":"Sentence-BERT, Semantic Similarity, Natural Language Processing (NLP), Cosine Similarity, Web-based Application","lastPublishedDoi":"10.21203/rs.3.rs-9049688/v1","lastPublishedDoiUrl":"https://doi.org/10.21203/rs.3.rs-9049688/v1","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"manuscriptAbstract":"The increasing need to have effective tools to evaluate the semantic similarity of sentences has been driven by the ever-increasing rate of information in the digital world in the form of text. This paper proposes the design and implementation of an efficient and effective web-based tool to calculate the semantic similarity of sentences in real-time using the power of transformer models on the web. This tool has been built using the Sentence-BERT model, which is specifically the all-MiniLM-L6-v2 model, to calculate the semantic similarity of sentences using the cosine similarity measure. This tool has been built using the Flask web development framework to allow users to input two sentences and calculate the similarity in real-time. The contribution of this work is the demonstration of the efficient and effective implementation of pre-trained transformer models on the web without the need to fine-tune the model on the GPU to calculate the semantic similarity of sentences, which has been demonstrated to be effective in the results to calculate the semantic similarity of sentences in the context of plagiarism detection and content analysis.","manuscriptTitle":"Web-based Semantic Similarity Checker using Sentence-BERT","msid":"","msnumber":"","nonDraftVersions":[{"code":1,"date":"2026-03-12 03:53:14","doi":"10.21203/rs.3.rs-9049688/v1","editorialEvents":[{"type":"communityComments","content":0}],"status":"published","journal":{"display":true,"email":"[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true}}],"origin":"","ownerIdentity":"c0ab5c88-20a9-48c4-abac-2c03dfb6002b","owner":[],"postedDate":"March 12th, 2026","published":true,"recentEditorialEvents":[],"rejectedJournal":[],"revision":"","amendment":"","status":"posted","subjectAreas":[],"tags":[],"updatedAt":"2026-03-14T18:39:17+00:00","versionOfRecord":[],"versionCreatedAt":"2026-03-12 03:53:14","video":"","vorDoi":"","vorDoiUrl":"","workflowStages":[]},"version":"v1","identity":"rs-9049688","journalConfig":"researchsquare"},"__N_SSP":true},"page":"/article/[identity]/[[...version]]","query":{"redirect":"/article/rs-9049688","identity":"rs-9049688","version":["v1"]},"buildId":"XKTyCvWXoU3ODBz1xrDgd","isFallback":false,"isExperimentalCompile":false,"dynamicIds":[84888],"gssp":true,"scriptLoader":[]}

Text is read by the "Ask this paper" AI Q&A widget below. Extraction quality varies by source — PMC NXML preserves structure cleanly, OA-HTML may include some navigation residue, and OA-PDF can have broken hyphenation. The publisher copy (via DOI) is the canonical version.

My notes (saved in your browser only)

Ask this paper AI returns verbatim quotes from the full text · source: preprint-html

Answers must be backed by verbatim quotes from this paper's full text. Hallucinated quotes are dropped automatically; if no verbatim passage answers the question, we say so. How this works

Citation neighborhood (no data yet)

We don't have any in-corpus citations linked to this paper yet. This is a recent paper (2026) — citers typically take a year or two to land, and the OpenAlex reference graph may still be filling in.

Source provenance

europepmc
last seen: 2026-05-20T01:45:00.602351+00:00