Permalink
Browse files

.

  • Loading branch information...
1 parent 12e4526 commit 66e688f16f83627cf1aaf6634aedbc707d8b26c4 @floere committed Nov 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 server/lib/picky/splitters/automatic.rb
@@ -56,7 +56,7 @@ def splits text
end
end
- #
+ # Segments the given text recursively.
#
def segment text, use_partial = false
(use_partial ? @partial_memo : @exact_memo)[text] ||= splits(text).inject([[], nil]) do |(current, heaviest), (head, tail)|

0 comments on commit 66e688f

Please sign in to comment.