MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

List Partition


what could i do to partition the list:
a={cat,E,in,the,hat,E,okay,fine,E}
into
a={{cat},{{in},{the},{hat}},{{okay},{fine}}}

ie:  every word in a sublist , and E determine the end of a sentence
(a bigger list).
zak


  • Prev by Date: Re: matrices in matrices
  • Next by Date: Area Under Curve (Min Length Interval)
  • Previous by thread: Re: Re: small puzzle programming
  • Next by thread: Re: List Partition