wow, that was cool.
thanks

----- Original Message -----
From: "Chetan Surpur" <[email protected]>
To: "NuPIC general mailing list." <[email protected]>
Sent: Friday, March 14, 2014 1:35:33 AM
Subject: Re: [nupic-discuss] code generating letters and words from a   sentence



Here's a small example to get you started: 



>>> map(list, "cat likes milk".split(" ")) 
[['c', 'a', 't'], ['l', 'i', 'k', 'e', 's'], ['m', 'i', 'l', 'k']] 


Also, StackOverflow [1] is a great place to ask coding questions of this 
nature. 



[1] http://stackoverflow.com/ 



On Thu, Mar 13, 2014 at 11:15 PM, Aseem Hegshetye < [email protected] > 
wrote: 


Hi, 
Is there a python code that takes a typed in sentence from the user and 
seperates every word in that sentence and every letter in each word. 
I am building a heirarchy of CLA's to build sequences of english sentences that 
talks back. 
It would be a good start for me. 
thanks 

_______________________________________________ 
nupic mailing list 
[email protected] 
http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org 


_______________________________________________
nupic mailing list
[email protected]
http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org

_______________________________________________
nupic mailing list
[email protected]
http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org

Reply via email to