after i did the exercise as guided, i think there is no need to use hash-table.

also, i don't use the provided text input, but i read-words from text files. so 
i have to add some trick to create the beginning " " and the end "." for the 
writing-style.

in the function (add-to-ws ws word1 word2), i put some extra conditions, to 
check if word1 (or word2) is ended with ".". if yes, i de-dot the word and 
update as usual. if no, i update the words as usual.

https://github.com/ayaderaghul/lab7-htdp

the lab 7 guide is surprisingly elegant (or maybe not surprisingly, because it 
comes from such and such :) however, i read that "students cant post solutions 
to exercises online", i dont know if this apply to my case.

anyway, when being asked to say-something, the machine generates quite good 
sentences. i have this secret hope [0] that if i feed it enough game theory 
literature, somehow it can generate something of value for my phd thesis =)) 
because i'm so stuck.

[0] the secret hope is based on this story about putting monkeys in a room full 
of typesetters. as time runs to infinity, the probability of these monkeys 
typing out a Shakepears-level novel increases.

good night,

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to