Commits

Luke Plant  committed a395c46

Removed limit of > 1 chars for words.

  • Participants
  • Parent commits 600b34d

Comments (0)

Files changed (1)

File phone2word.hs

 --
 
 getWords :: String -> IO [B.ByteString]
-getWords dictFile = B.readFile dictFile >>= (return . (filter (\x -> B.length x > 1)) . B.lines)
+getWords dictFile = B.readFile dictFile >>= (return . B.lines)
 
 countNodes t = 1 + (sum $ map countNodes (nodeSubForest t))