Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re^2: N-gram comparison

by sarvan (Sexton)
on Jun 29, 2011 at 10:28 UTC ( #911923=note: print w/replies, xml ) Need Help??

in reply to Re: N-gram comparison
in thread N-gram comparison

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re^3: N-gram comparison
by Corion (Patriarch) on Jun 29, 2011 at 10:33 UTC

    This is not a script writing service. While we will try to help you with the problems you have when writing Perl code, we expect you to do your work. Please do show us the relevant code you have already written. Tell us what the code is supposed to do. Show us what input you give to your code. Show us what output you get, and what output you want, and how what you get is different from what you want. Only then, we can work with you on your problem.

Re^3: N-gram comparison
by choroba (Cardinal) on Jun 29, 2011 at 10:36 UTC
    See perldata. I would approach the task generally, so the program would work for any input, not only the sentences you mentioned. Therefore, if I gave you the example, I would solve your problem, which contradicts what Corion wrote :-)
Re^3: N-gram comparison
by spx2 (Deacon) on Jun 29, 2011 at 12:31 UTC

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://911923]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2023-09-25 10:11 GMT
Find Nodes?
    Voting Booth?

    No recent polls found