Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
We don't bite newbies here... much
 
PerlMonks  

Re: How do I change the code to get percent match and matched words between two texts?

by Corion (Pope)
on Sep 28, 2012 at 09:04 UTC ( #996147=note: print w/ replies, xml ) Need Help??


in reply to How do I change the code to get percent match and matched words between two texts?

Have you looked at line 21 (and 20) of your program?

Please look at the two lines, and explain to us what the two lines should do. Also consider that by convention, most lines in Perl programs contain a single statement and should end with the statement separator, ";".


Comment on Re: How do I change the code to get percent match and matched words between two texts?
Re^2: How do I change the code to get percent match and matched words between two texts?
by supriyoch_2008 (Scribe) on Sep 28, 2012 at 13:45 UTC

    Corion,

    Thanks for your comment. Line 20 i.e. my $sentence,my $possible_match should find the matched words between two sentences. I shall go through the texts suggested by Marto and try once again to fix it.

    Regards,

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (16)
As of 2014-04-16 15:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (432 votes), past polls