On Saturday, July 6, 2013 1:22:32 PM UTC-4, Lars Nilsson wrote: > > [snip] > If that kind of splitting is really all you require, > (clojure.string/split my-text #"[.!?;]") or (re-seq #"[^.!?;]+" > my-text) >
Thanks! Is there any way to preserve the actual punctuation? That's why I was looking at partition-by and group-by instead. > > For fancier stuff look into an opennlp wrapper or something like it. > > https://github.com/dakrone/clojure-opennlp > This might be a better solution; thanks for mentioning it. > > Lars Nilsson > -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.