factorie/factorie — pull request #69 by JackSullivan (2013-10-04 15:12:46+00:00)
Title: Added a new function to TraversableExtras - split.

Split takes a predicate and returns an Iterable of Traversables of all
the elements that satisfy the predicate, as split by all the elements
that don't satisfy the predicate. Concretely `(1 to 20).toSeq.split(_ % 2 ==
0)` will give a list seqs that contain 2, 4, 6, 8, etc.

Useful for partitioning OWPL-style files into seqs of sentences.