specify the percentage of matching #781
-
Hello, I am currently using JPlag API to find the similarity among a large set of java files. I was wondering whether there is a way of limiting certain matches with e.g., 100% or 0% of matching from the generated report? and matching files? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
For a lower bound, you can use the following CLI argument:
For example, You can also enforce some restrictions on certain files before the comparison:
|
Beta Was this translation helpful? Give feedback.
For a lower bound, you can use the following CLI argument:
For example,
-m 0.5
will filter all submissions with a similarity of 50% or less. We currently do not have a mechanism to filter submissions when their similarity is above a certain threshold.You can also enforce some restrictions on certain files before the comparison:
-s name
limits the comparison to only the files residing in the "name" folder of each submission.-x path
allows specifying a text file that contains file names to ignore.