rdoc/Ofac.html in ofac-1.3.0 vs rdoc/Ofac.html in ofac-1.3.1
- old
+ new
@@ -2,11 +2,11 @@
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
-<title>Class: Ofac</title>
+<title>class Ofac - ofac 1.3.1</title>
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
<script type="text/javascript">
var rdoc_rel_prefix = "./";
@@ -328,12 +328,12 @@
<p>The score is calculated by adding up the weightings of each part that is
matched. So if only name is matched, then the max score is the weight for
<code>:name</code> which is 60</p>
-<p>It’s possible to get partial matches, which will add partial weight to
-the score. If there is not a match on the element as it is passed in, then
+<p>It’s possible to get partial matches, which will add partial weight to the
+score. If there is not a match on the element as it is passed in, then
each word element gets broken down and matches are tried on each partial
element. The weighting is distrubuted equally for each partial that is
matched.</p>
<p>If exact matches are not made, then a sounds like match is attempted. Any
@@ -373,16 +373,16 @@
<code>:name</code> portion of the search will be worth 53.</p>
<p>If data is in the database for city and or address, and you pass data in
for these elements, the score will be reduced by 10% of the weight if there
is no match or sounds like match. So if you get a match on name, you’ve
-already got a score of 60. So if you don’t pass in an address or city,
-or if you do, but there is no city or address info in the database, then
-your final score will be 60. But if you do pass in a city, say Tampa, and
-the city in the Database is New York, then we will deduct 10% of the weight
-(30 * .1) = 3 from the score since 30 is the weight for <code>:city</code>.
-So the final score will be 57.</p>
+already got a score of 60. So if you don’t pass in an address or city, or
+if you do, but there is no city or address info in the database, then your
+final score will be 60. But if you do pass in a city, say Tampa, and the
+city in the Database is New York, then we will deduct 10% of the weight (30
+* .1) = 3 from the score since 30 is the weight for <code>:city</code>. So
+the final score will be 57.</p>
<p>If were searching for New York, and the database had New Deli, then there
would be a match on New, but not on Deli. Since there were 2 elements in
the searched city, each hit is worth 15. So the match on New would add 15,
but the non-match on York would subtract (15 * .1) = 1.5 from the score.
@@ -423,9 +423,9 @@
</div><!-- documentation -->
<footer id="validator-badges">
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
- <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.11.
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
</footer>