<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 4: Jaccard.score() returns NaN if both strings empty</title><link href="https://sourceforge.net/p/secondstring/bugs/4/" rel="alternate"/><link href="https://sourceforge.net/p/secondstring/bugs/4/feed.atom" rel="self"/><id>https://sourceforge.net/p/secondstring/bugs/4/</id><updated>2009-04-08T01:35:20Z</updated><subtitle>Recent changes to 4: Jaccard.score() returns NaN if both strings empty</subtitle><entry><title>Jaccard.score() returns NaN if both strings empty</title><link href="https://sourceforge.net/p/secondstring/bugs/4/" rel="alternate"/><published>2009-04-08T01:35:20Z</published><updated>2009-04-08T01:35:20Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net421b6533439b4d41b37e6f8a98209fe22692f921</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Jaccard.score(s1, s2) returns NaN if both strings have zero tokens.  this happens when both strings are empty, or the tokenizer doesn't find any tokens (NGram tokenizer with minNGramSize &amp;gt; size of the string)&lt;/p&gt;
&lt;p&gt;It should *probably* return 0.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>