Re: unigrams,bigrams,trigrams?

2006-04-23 Thread Williamawalters
hi amit --     while thinking about the code i sent you in my last e-mail, i realized there is an error.   the error can be demonstrated by the following:     C:[EMAIL PROTECTED]>perl t_grams1.pl "no now know"   ``no now know'' has...3 unigrams   1 know   1 no   1 now2 bigrams   1 no now  

Re: unigrams,bigrams,trigrams?

2006-04-23 Thread Williamawalters
In a message dated 4/23/2006 9:23:31 A.M. Eastern Standard Time, [EMAIL PROTECTED] writes:   > hello ,> Thanks for the help .> But my problem is that i need to get 3 different hashes for all uni bi> tri grams ..> coz later in my code i have to calculate the value as> > trigram{hello how are

Re: unigrams,bigrams,trigrams?

2006-04-23 Thread amit hetawal
hello , Thanks for the help . But my problem is that i need to get 3 different hashes for all uni bi tri grams .. coz later in my code i have to calculate the value as trigram{hello how are} /bigram{hello how} so how do i relate the 2 values in the hashes ... i used a code as : my($prev1,$prev2

Re: XML transfer, IO::Socket, IO::Select questions

2006-04-23 Thread Foo JH
Make your life simpler: do a HTTP POST of your XML documents instead. Jack Coates wrote: Hi all, I might be barking up the wrong tree here, so please feel free to tell me there's a better way... I want to transfer some XML files from assorted clients to a server -- this is all running in a