GithubHelp home page GithubHelp logo

winnowing-algorithms's Introduction

How to run: make make shell

There is a issues with the comparsion (Or maybe the way I token stuff, maybe I didnt include everything and convert them to tokens).

  1. What regular expressions/tokens did you identify, and how does your program react to each one. I found stuff like "if/else...." as control and define them as 2. So in the tokens.txt, it will show as 2. I do all of that to everything that might exits in a .c file.

  2. A brief description in your own words of how you implemented the Winnowing algorithm The generateShingles function takes a line of text as input and generates shingles of a specified length (SHINGLE_LENGTH). Shingles are overlapping sequences of words or characters. The hashShingles function calculates hash values for each shingle generated by the generateShingles function. For each line in the input file ("tokens.txt"):Generate shingles for the current line using generateShingles. Hash the shingles using hashShingles to obtain fingerprints. Output the fingerprints for the current line.

  3. The results of your analysis, including identifying any submissions found by the algorithm that you believe may be plagiarism See PlagarismReport.txt

winnowing-algorithms's People

Contributors

justinye377 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.