The answer will depend on whether later refers to later in the script or at some later time.
If later in the script, then simply reading through the two files and the storing results in an array of hashes might be easiest:
$fileA[$.]{$keyword}++
If you want this for subsequent processing, then a database solution is possibly the way to go.
-- Ken
In reply to Re: term frequency and mutual info
by kcott
in thread term frequency and mutual info
by perl_lover_always
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |