Spaces:
Runtime error
Runtime error
Commit
•
b38f496
1
Parent(s):
8adac66
Update app.py
Browse files
app.py
CHANGED
@@ -28,6 +28,8 @@ def plagiarismChecker(orig, plag):
|
|
28 |
sent_o=sent_tokenize(orig)
|
29 |
sent_p=sent_tokenize(plag)
|
30 |
|
|
|
|
|
31 |
#maximum length of LCS for a sentence in suspicious text
|
32 |
max_lcs=0
|
33 |
sum_lcs=0
|
|
|
28 |
sent_o=sent_tokenize(orig)
|
29 |
sent_p=sent_tokenize(plag)
|
30 |
|
31 |
+
tokens_p = word_tokenize(plag)
|
32 |
+
|
33 |
#maximum length of LCS for a sentence in suspicious text
|
34 |
max_lcs=0
|
35 |
sum_lcs=0
|