Files
ALwrity/lib/plagiarism_checker/main.py
2023-10-07 10:51:22 +05:30

21 lines
514 B
Python

## 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()