Skip to content

Commit 4bab3e3

Browse files
authored
Fix README example of n-gram (2-gram)
Fix issue #53 Many thanks to @paulirwin for the thorough issue analysis!
1 parent 3def1da commit 4bab3e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ public class MyApp {
350350

351351
public static void main(String[] args) {
352352

353-
// produces 0.416666
353+
// produces 0.583333
354354
NGram twogram = new NGram(2);
355355
System.out.println(twogram.distance("ABCD", "ABTUIO"));
356356

0 commit comments

Comments
 (0)