jm-begon / locmoss

Local MOSS in Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

locmoss

Local MOSS (Measure Of Software Similarity) in Python

Inspired by MOSS-winnowing-seqMatcher and based on the winnowing algorithm:

Schleimer, S., Wilkerson, D. S., & Aiken, A. (2003, June). Winnowing: local algorithms for document fingerprinting. In Proceedings of the 2003 ACM SIGMOD international conference on Management of data (pp. 76-85).

See Standford MOSS for the original online service.

Requirement

Tested under Python 3.7 with the following dependencies:

  • pygments 2.6.1

You may use pip install -r requirements.txt to install all requirements

Install

python setup.py install

Usage

Installation leaves a local_moss python script in the path. See examples
for a illustrative use.

About

Local MOSS in Python

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 100.0%