Diff of /inst/huffmandict.m [786917] .. [d6dad2]  Maximize  Restore

  Switch to side-by-side view

--- a/inst/huffmandict.m
+++ b/inst/huffmandict.m
@@ -24,7 +24,7 @@
 ## occur in practice anyway.
 ##
 ## @var{toggle} is an optional argument with values 1 or 0, that starts
-## building a code based on 1's or 0's, defaulting to 0. Also @var{minvar}
+## building a code based on 1s or 0s, defaulting to 0. Also @var{minvar}
 ## is a boolean value that is useful in choosing if you want to optimize
 ## buffer for transmission in the applications of Huffman coding, however
 ## it doesn't affect the type or average codeword length of the generated
@@ -87,7 +87,7 @@
   ## being that if_ it doesnt occur why bother saving its value anyway?
   ## --(Oct 9) Actually some experts in the area dont agree to this,
   ## and being a generic implementation we should stick to generating
-  ## CW's for_ zero symbols. Why impose a bad implementation? --Muthu
+  ## CWs for_ zero symbols. Why impose a bad implementation? --Muthu
 
   origsource_prob = source_prob;
 
@@ -184,7 +184,7 @@
     cw_list{1,itr} = -1;
   endfor
 
-  #disp('Before resorting')
+  #disp("Before resorting")
   #cw_list
 
   nw_list = cell (1, L);

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks