Procházet zdrojové kódy

Fix typos in message file.

Timur Sağlam před 5 roky
rodič
revize
ea0a61b686

+ 3 - 3
README.md

@@ -35,9 +35,9 @@ Usage: JPlag [ options ] [<root-dir>]
 
 named arguments:
   -h, --help             show this help message and exit
-  -l {java1,java2,java5,java5dm,java7,java9,python3,cpp,csharp,char,text,scheme} Select the language to parse the submissions (Standard: java9)
+  -l                     {java1,java2,java5,java5dm,java7,java9,python3,cpp,csharp,char,text,scheme} Select the language to parse the submissions (Standard: java9)
   -bc BC                 Name of the subdirectory of the root directory which contains the base code (common framework used in all submissions)
-  -v {parser,quiet,long,details} Verbosity of the logging (Standard: quiet)
+  -v                     {quiet,long} Verbosity of the logging (Standard: quiet)
   -d                     Debug parser. Non-parsable files will be stored (Standard: false)
   -S S                   Look in directories <root-dir>/*/<dir> for programs
   -p P                   comma-separated list of all filename suffixes that are included
@@ -46,7 +46,7 @@ named arguments:
   -m M                   Match similarity threshold [0-100]: All matches above this threshold will be saved (Standard: 0.0)
   -n N                   The maximum number of comparisons that will be shown in the generated report, if set to -1 all comparisons will be shown (Standard: 30)
   -r R                   Name of the directory in which the comparison results will be stored (Standard: result)
-  -c {normal,parallel}   Comparison mode used to compare the programs (Standard: normal)
+  -c                     {normal,parallel} Comparison mode used to compare the programs (Standard: normal)
 ```
 
 ### Java API

+ 3 - 3
jplag/src/main/resources/de/jplag/messages.properties

@@ -4,10 +4,10 @@ CommandLineArgument.Debug=Debug parser. Non-parsable files will be stored
 CommandLineArgument.Suffixes=comma-separated list of all filename suffixes that are included
 CommandLineArgument.ExcludeFile=All files named in this file will be ignored in the comparison (line-separated list)
 CommandLineArgument.Language=Select the language to parse the submissions
-CommandLineArgument.MinTokenMatch=Tunes the comparison sensitivity by adjusting the minimum token required to be counted as matching section. A smaller <n> increases the sensitivity but might lead to more false-positves
-CommandLineArgument.ResultFolder=Name of directory in which the comparison results will be stored
+CommandLineArgument.MinTokenMatch=Tunes the comparison sensitivity by adjusting the minimum token required to be counted as a matching section. A smaller <n> increases the sensitivity but might lead to more false-positives
+CommandLineArgument.ResultFolder=Name of the directory in which the comparison results will be stored
 CommandLineArgument.RootDirectory=The root-directory that contains all submissions
 CommandLineArgument.ShownComparisons=The maximum number of comparisons that will be shown in the generated report, if set to -1 all comparisons will be shown
-CommandLineArgument.SimilarityThreshold=Match similarity threshold [0-100]: All matches above this threshold will be saved
+CommandLineArgument.SimilarityThreshold=Comparison similarity threshold [0-100]: All comparisons above this threshold will be saved
 CommandLineArgument.Subdirectory=Look in directories <root-dir>/*/<dir> for programs
 CommandLineArgument.Verbosity=Verbosity of the logging