How can I match string order between two documents in PERL?

Posted by Randy on Stack Overflow See other posts from Stack Overflow or by Randy
Published on 2010-05-24T00:59:10Z Indexed on 2010/05/24 1:00 UTC
Read the original article Hit count: 296

Filed under:

Hi, I've a problem in making a PERL program for matching the words in two documents. Let's say there are documents A and B So I want to delete the words in document A that's not in the document B A: I eat pizza B: She go to the market and eat pizza

result: eat pizza

I use Perl for the system and the sentences in each document isn't in a big numbers so I think I won't use SQL

And the program is a subproram for automatic essay grading for Indonesian Language (Bahasa)

Thanx, Sorry if my question is a bit confusing. I'm really new to 'this world' :)

© Stack Overflow or respective owner

Related posts about textmatching