class Copyleaks::Score
Attributes
Public Class Methods
Source
# File lib/copyleaks/models/submissions/webhooks/HelperModels/ResultsModels/Score.rb, line 28 def initialize( identicalWords: nil, minorChangedWords: nil, relatedMeaningWords: nil, aggregatedScore: nil ) @identicalWords = identicalWords @minorChangedWords = minorChangedWords @relatedMeaningWords = relatedMeaningWords @aggregatedScore = aggregatedScore end
@param [int] $identicalWords - Number of words which matched exactly. @param [int] $relatedMeaningWords - Number of paraphrased words showing similar ideas with different words. @param [float] $aggregatedScore - The percentage of similar words from all results. The calculation does not include excluded references, quotations, etc. @param [int] $minorChangedWords - Number of nearly identical words with small differences like ‘slow’ and ‘slowly’.