Initial version of blog Gen

This commit is contained in:
AjaySi
2023-10-07 10:51:22 +05:30
commit 12010c0478
27 changed files with 1295 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
## main.py
from plagiarism_checker import PlagiarismChecker
def main():
# Create an instance of the PlagiarismChecker class
checker = PlagiarismChecker()
# Get the input string from the user
input_string = input("Enter the input string: ")
# Check plagiarism in the input string
percentage = checker.check_plagiarism(input_string)
# Print the percentage of original content
print(f"The percentage of original content is: {percentage}%")
if __name__ == "__main__":
main()