[SCM] polsarpro branch, master, updated. upstream/4.1.5+ds-16-g2221d32

Antonio Valentino antonio.valentino at tiscali.it
Thu Feb 17 22:56:56 UTC 2011


The following commit has been merged in the master branch:
commit 2e798f29f406956f17b19a8e46dbfb3f3e5236cf
Author: Antonio Valentino <antonio.valentino at tiscali.it>
Date:   Mon Feb 14 20:06:09 2011 +0100

    Add a new patch to fix spelling errors in new code

diff --git a/debian/changelog b/debian/changelog
index 120110d..d14cb2c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,4 +2,4 @@ polsarpro (4.2.0+dfsg-1) unstable; urgency=low
 
   * Initial release (Closes: #606876)
 
- -- Antonio Valentino <antonio.valentino at tiscali.it>  Mon, 14 Feb 2011 19:56:12 +0100
+ -- Antonio Valentino <antonio.valentino at tiscali.it>  Mon, 14 Feb 2011 20:05:20 +0100
diff --git a/debian/patches/series b/debian/patches/series
index 80ff765..a4b2fde 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 default-config.patch
-fix-build.patch
\ No newline at end of file
+fix-build.patch
+spelling.patch
diff --git a/debian/patches/spelling.patch b/debian/patches/spelling.patch
new file mode 100644
index 0000000..da0c0be
--- /dev/null
+++ b/debian/patches/spelling.patch
@@ -0,0 +1,61 @@
+Fix spelling
+--- a/Soft/SVM/svm_classifier.c
++++ b/Soft/SVM/svm_classifier.c
+@@ -961,7 +961,7 @@
+ void help()
+ {
+ 	printf("\n#################################################################\n");
+-	printf("################ BEGINING HELP of svm_classifier ################\n");
++	printf("############### BEGINNING HELP of svm_classifier ################\n");
+ 	printf("#################################################################\n");
+ 	printf("COMMAND LINE:\n");
+ 	printf("         'svm_classifier batch_parameter polsarpro_directory file_script_svm in_dir  Bmp_flag ColorMapTrainingSet16  svm_config_file'\n");
+@@ -994,7 +994,7 @@
+ 	printf("// (describe a bit after).\n//\n");
+ 	printf("// YOU HAVE 2 BIG WAYS TO PRODUCE AN SVM CLASSIFICATION:\n");
+ 	printf("//        I)  --> Use an existing svm model file (no training process, only prediction)\n");
+-	printf("//                 (only possible if the sensors and choosen polarimetric indicators\n");
++	printf("//                 (only possible if the sensors and chosen polarimetric indicators\n");
+ 	printf("//                  are exactly the same and also if your data are accurately calibrated!!!)\n");
+ 	printf("//        II) --> Build a new svm model file (training process + prediction),\n");
+ 	printf("//                by choosing a kernel and its parameters.\n");
+@@ -1009,11 +1009,11 @@
+ 	printf("//      2) CALL this program with this command line:\n");
+ 	printf("//          'svm_classifier batch_parameter polsarpro_directory file_script_svm in_dir  Bmp_flag ColorMapTrainingSet16  svm_config_file'\n");
+ 	printf("//      3) RUN the file_script_svm\n");
+-	printf("//          In all the case, EXCEPT if you have choosen to make a cross validation by using the RBF kernel,\n");
++	printf("//          In all the case, EXCEPT if you have chosen to make a cross validation by using the RBF kernel,\n");
+ 	printf("//          YOU OBTAIN YOUR FINAL BINARY SVM CLASSIFICATION!!!\n");
+ 	printf("//           (in the RBF cross validation case, the script make the cross validation\n");
+ 	printf("//            and plot the iso accuracy curves in fonction of the (Cost, Gamma) parameters\n");
+-	printf("//          a) If you have choosen the cross validation step in the RBF kernel case\n");
++	printf("//          a) If you have chosen the cross validation step in the RBF kernel case\n");
+ 	printf("//              you need to make OTHER STEPS:\n");
+ 	printf("//                 1) If you are NOT SATISFIED by the cross validation results because,\n");
+ 	printf("//                     for example, you don't find a true maximum of accuracy,\n");
+@@ -1034,7 +1034,7 @@
+ 	printf("Press 'Enter' to continue the help\n" );
+ 	getchar();
+ 	
+-	printf("////////////////////// BEGINING of the file //////////////////////\n");
++	printf("///////////////////// BEGINNING of the file //////////////////////\n");
+ 	printf("#########################################\n");
+ 	printf("# SVM Classification Configuration File #\n");
+ 	printf("#########################################\n");
+@@ -1127,13 +1127,13 @@
+ 	printf("//                                   --> '1' to enable, '0' to disable\n//\n" );
+ 	printf("// 'CV_log2c_interval'             : Cross validation COST interval in log2 base\n");
+ 	printf("//                                    (RBF kernel case only!!!).\n");
+-	printf("//                                   --> begining end step\n" );
++	printf("//                                   --> beginning end step\n" );
+ 	printf("//                                   --> if disable : DISABLE DISABLE DISABLE\n//\n" );
+ 	printf("// 'CV_log2g_interval'             : Cross validation GAMMA interval in log2 base\n");
+ 	printf("//                                    (RBF kernel case only!!!).\n");
+-	printf("//                                   --> begining end step\n" );
++	printf("//                                   --> beginning end step\n" );
+ 	printf("//                                   --> if disable : DISABLE DISABLE DISABLE\n//\n" );
+-	printf("// 'kernel_type'                   : kernel choosen for the classification.\n");
++	printf("// 'kernel_type'                   : kernel chosen for the classification.\n");
+ 	printf("//                                   --> 'DISABLE' if 'new_model'=0\n" );
+ 	printf("//                                   --> 'O' for linear kernel\n" );
+ 	printf("//                                   --> '1' for polynomial kernel\n" );

-- 
Polarimetric SAR Data Processing and Educational Tool



More information about the Pkg-grass-devel mailing list