I am creating a program in Python which compares 2 or more files for similarity. A great tool I’ve found is Copyleaks, which is not a usual diffchecker, but also looks at synonyms and paraphrasing.
How can I create a repository and search it using Copyleaks Python SDK? Or is there a better method to achieve my goal?
I have found this usage example on github which uses SearchRepository() method, but it has no declaration.
repo = SearchRepository()
repo.set_include_my_submissions(True)
repo.set_include_others_submissions(True)
repo.set_id("ID_FETCHED_DASHBOARD")
scan_properties.set_scanning(Scanning().set_repositories(repo))