A
arvintheoc
Table A has phrases like:
go to cinema to watch a
read a book
talk on phone
watch tv
Take a picture with new camera
Table B has words like:
a
and
my
to
be
on
of
with
What is code that compares each line of table A and spits out the # matches
with items in table B?
For example, results here would be:
"go to cinema to watch a" count = 3
(matches to, to, a)
"read a book" count = 1
"talk on phone" count = 1
"watch tv" count = 0
"take a picture with new camera" count = 2….
etc.?
Thanks,
go to cinema to watch a
read a book
talk on phone
watch tv
Take a picture with new camera
Table B has words like:
a
and
my
to
be
on
of
with
What is code that compares each line of table A and spits out the # matches
with items in table B?
For example, results here would be:
"go to cinema to watch a" count = 3
(matches to, to, a)
"read a book" count = 1
"talk on phone" count = 1
"watch tv" count = 0
"take a picture with new camera" count = 2….
etc.?
Thanks,