subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1412427 - /subversion/trunk/subversion/include/private/svn_string_private.h
Date Thu, 22 Nov 2012 05:55:04 GMT
Author: brane
Date: Thu Nov 22 05:55:04 2012
New Revision: 1412427

URL: http://svn.apache.org/viewvc?rev=1412427&view=rev
Log:
* subversion/include/private/svn_string_private.h
  (svn_cstring__similarity): "ratio OF" ... "characteR-based" ...

Modified:
    subversion/trunk/subversion/include/private/svn_string_private.h

Modified: subversion/trunk/subversion/include/private/svn_string_private.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/private/svn_string_private.h?rev=1412427&r1=1412426&r2=1412427&view=diff
==============================================================================
--- subversion/trunk/subversion/include/private/svn_string_private.h (original)
+++ subversion/trunk/subversion/include/private/svn_string_private.h Thu Nov 22 05:55:04 2012
@@ -168,9 +168,9 @@ char *
 svn__i64toa_sep(apr_int64_t number, char seperator, apr_pool_t *pool);
 
 /**
- * Computes the similarity score of STRA and STRB. Returns the ratio
- * between the length of their longest common subsequence and the
- * length of the strings, normalized to the range [0..1000].
+ * Computes the similarity score of STRA and STRB. Returns the
+ * ratio of the length of their longest common subsequence and
+ * the length of the strings, normalized to the range [0..1000].
  * The result is equivalent to Python's
  *
  *   difflib.SequenceMatcher.ratio
@@ -186,7 +186,7 @@ svn__i64toa_sep(apr_int64_t number, char
  * Q: Why another LCS when we already have one in libsvn_diff?
  * A: svn_diff__lcs is too heavyweight and too generic for the
  *    purposes of similarity testing. Whilst it would be possible
- *    to use a characte-based tokenizer with it, we really only need
+ *    to use a character-based tokenizer with it, we really only need
  *    the *length* of the LCS for the similarity score, not all the
  *    other information that svn_diff__lcs produces in order to
  *    make printing diffs possible.



Mime
View raw message