
16 Jul
2008
16 Jul
'08
8:33 a.m.
Grzegorz Chrupala wrote:
split "<DOC>" . words . map toLower = (:[]) . words . map toLower
Since you converted everything to lowercase, the string "<DOC>" will never appear in the text, resulting in a single huge document.
Oops, that should have been obvious, sorry for the dumb question. Thanks,
No problem, it was not obvious to me and I had fun trying to figure it out :) Regards, apfelmus