[irstlm] 32/146: Updated spelling_fixes.patch.

Giulio Paci giuliopaci-guest at moszumanska.debian.org
Tue May 17 07:37:04 UTC 2016


This is an automated email from the git hooks/post-receive script.

giuliopaci-guest pushed a commit to branch master
in repository irstlm.

commit 06fb0a6930bea2e8c1587fa70121fdc4891b2226
Author: Giulio Paci <giuliopaci at gmail.com>
Date:   Tue Sep 4 03:48:01 2012 +0200

    Updated spelling_fixes.patch.
---
 debian/patches/spelling_fixes.patch | 36 ++++++++++++++++++------------------
 1 file changed, 18 insertions(+), 18 deletions(-)

diff --git a/debian/patches/spelling_fixes.patch b/debian/patches/spelling_fixes.patch
index 2612dbb..206b0c9 100644
--- a/debian/patches/spelling_fixes.patch
+++ b/debian/patches/spelling_fixes.patch
@@ -5,23 +5,23 @@ Forwarded: no
 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
 --- a/src/cplsa.cpp
 +++ b/src/cplsa.cpp
-@@ -304,7 +304,7 @@
- 				int m=trset.m;
- 				/* unused parameter       int n=trset.n;   */
- 				int j=trset.cd; //current document	      
--				int N=0; // doc lenght
-+				int N=0; // doc length
- 				
- 				//resume H
- 				hindf.read((char *)H,topics * sizeof(double));
+@@ -310,7 +310,7 @@
+         int m=trset.m;
+         /* unused parameter       int n=trset.n;   */
+         int j=trset.cd; //current document
+-        int N=0; // doc lenght
++        int N=0; // doc length
+ 
+         //resume H
+         hindf.read((char *)H,topics * sizeof(double));
 --- a/src/dictionary.cpp
 +++ b/src/dictionary.cpp
-@@ -93,7 +93,7 @@
- 		
- 		//skip words of length zero chars: why should this happen?
- 		if (strlen(buffer)==0){
--			cerr << "zero lenght word!\n";
-+			cerr << "zero length word!\n";
- 			continue;
- 		}
- 		
+@@ -95,7 +95,7 @@
+ 
+     //skip words of length zero chars: why should this happen?
+     if (strlen(buffer)==0) {
+-      cerr << "zero lenght word!\n";
++      cerr << "zero length word!\n";
+       continue;
+     }
+ 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/irstlm.git



More information about the debian-science-commits mailing list