Code Monkey home page Code Monkey logo

hookejs's Introduction

HookeJs

code style: prettier

An open source plagiarism detector built in node.

Installation

npm install hookejs

Usage

For plagiarism detection:

hooke = require("hookejs")
plagiarisedText = `Sherlock Holmes (/ˈʃɜːrlɒk ˈhoʊmz/ or /-ˈhoʊlmz/) is a fictional private detective created by British author Sir Arthur Conan Doyle. Referring to himself as a "consulting detective" in the stories, Holmes is known for his proficiency with observation, deduction, forensic science, and logical reasoning that borders on the fantastic, which he employs when investigating cases for a wide variety of clients, including Scotland Yard.`
hooke.matchPrint({text: plagiarisedText})

Functions

  • match: Returns Source objects with a list of Match objects, which include the matched text start, end, a calculated score and a few more variables.

  • matchPrint: Prints match results in an understandable manner.

Note

This package can a google custom search API key and engine id, which can be accessed through function parameters or the G_API_KEY and G_ENGINE_ID environment variables. If not provided, it will scrape the results (use at your own risk)

hookejs's People

Contributors

hhhhhhhhhn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

hookejs's Issues

Appreciation and Curiosity

Just wanted to say that I think this is an amazing package you created. I'm really curious what sources you used to do the pre-processing? I've found various resources which support ever thing you're doing, but I've not found one succinct approach such as this aside from yours.

Quick question

Hi,

First of all thank you for creating this amazing package.
I wonder, can we limit the pages for checked url's on google search? Like i want to limit it to check only first two pages on results.

Thanks

process is not defined

I would like to use the library on the client side, but process is not defined error is rising.

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.