Sha256: 1df68bb724d157350b65ce49696839bd26856a6c3ba55abb64b3844708a654bf

Contents?: true

Size: 1.5 KB

Versions: 3

Compression:

Stored size: 1.5 KB

Contents

# Plagiarism

Search for plagiarism and check the duplication of your content from Bing, Google, Yahoo and DuckDuckGo.

## Installation

```ruby
gem 'plagiarism2', require: 'plagiarism'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install plagiarism2

## Usage

Add in your config

```ruby
Plagiarism.configure do |config|
  config.strategies = [xxx] # => [:google, :bing, :duck, :yahoo]
  config.whitelists = ['www.ring.md']
end
```

In case of using bing engine, you have to set access key

```ruby
config.bing_key = xxx
```

After that you can check the unique of content

```ruby
text = 'Latte user story paradigm affordances experiential innovate venture capital physical computing. Ship it agile actionable insight iterate thought leader pitch deck experiential iterate. Venture capital food-truck quantitative vs. qualitative SpaceTeam convergence agile.'
Plagiarism.unique? text
```

`Plagiarism.unique?` is true when all strategies is true

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/MQuy/plagiarism. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.

> Disclaim: Yahoo and DuckDuckGo don't support api, therefore I have to crawl data, if you find any solution to fix, please help me.

## License

The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
plagiarism2-0.0.3 README.md
plagiarism2-0.0.2 README.md
plagiarism2-0.0.1 README.md