Permalink
Browse files

Clever bruteforce added

  • Loading branch information...
1 parent aa3cf8d commit f328b973acf0eff07c89c4780bbec7a6f028d498 @mishadoff committed Mar 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/nlputils/segment.clj
View
@@ -45,4 +45,4 @@
(apply concat (for [i (range 1 (inc (count string)))
:let [ss (subs string 0 i)]
:when (contains? dict ss)]
- (map #(cons ss %) (word-candidates-dict (subs string i) dict))))))
+ (map #(cons ss %) (segment-bruteforce-clever (subs string i) dict))))))

0 comments on commit f328b97

Please sign in to comment.