Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2014-07-31 03:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (244 votes), past polls