summaryrefslogtreecommitdiff
path: root/spellfix.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'spellfix.fnl')
-rw-r--r--spellfix.fnl2
1 files changed, 1 insertions, 1 deletions
diff --git a/spellfix.fnl b/spellfix.fnl
index 00642ac..5ecb870 100644
--- a/spellfix.fnl
+++ b/spellfix.fnl
@@ -301,7 +301,7 @@
(array.sort index #(< $1.distance $2.distance)))
(local most-similar (. sorted-index 1))
most-similar.word)
- (str.split string))
+ (str.split string " "))
" "))
(if (~= result string)
result