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.
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
python setup.py install
Installation leaves a local_moss
python script in the path. See examples
for a illustrative use.