aliasgerovs commited on
Commit
2bc427a
1 Parent(s): acbe872

Update plagiarism.py

Browse files
Files changed (1) hide show
  1. plagiarism.py +3 -1
plagiarism.py CHANGED
@@ -318,14 +318,16 @@ def plagiarism_check(
318
  formatted_tokens.append(
319
  (sent, "[" + str(urlMap[sentenceToMaxURL[i]]) + "]")
320
  )
 
321
  formatted_tokens.append("\n\n\n")
 
322
  for ind in index_descending:
323
  formatted_tokens.append(
324
  (
325
  urlList[ind]
326
  + " --- Matching Score: "
327
  + f"{str(round(urlScore[ind] * 100, 2))}%",
328
- "[" + str(urlMap[ind]) + "]" + "\n",
329
  )
330
  )
331
  formatted_tokens.append(("\n", None))
 
318
  formatted_tokens.append(
319
  (sent, "[" + str(urlMap[sentenceToMaxURL[i]]) + "]")
320
  )
321
+
322
  formatted_tokens.append("\n\n\n")
323
+
324
  for ind in index_descending:
325
  formatted_tokens.append(
326
  (
327
  urlList[ind]
328
  + " --- Matching Score: "
329
  + f"{str(round(urlScore[ind] * 100, 2))}%",
330
+ "[" + str(urlMap[ind]) + "]",
331
  )
332
  )
333
  formatted_tokens.append(("\n", None))