Just another Perl shrine | |
PerlMonks |
Re: Supervised machine learning algo for text matching across two filesby thanos1983 (Parson) |
on May 24, 2017 at 19:21 UTC ( [id://1191137]=note: print w/replies, xml ) | Need Help?? |
Hello Anonymous Monk, Your description unfortunately is not enough for us (or just me) to provide you an answer. We need more data, sample of file1 and sample of matching on file2. As a solution (if I understand correctly) you have millions lines on file 1 but some how 55 fields, maybe the rows contain some key words that can match with file 2? If so you can write a regex that will match the key word with line number. As a next step you can have a hash containing the previously collected data that you will compare they keys (key words file 1, values would be line numbers) with fields on file 2. Maybe I am really far out for answering your question, but as I said I do not know what are your data on your files. With more information it would be easier to answer. Help us to help you. :)
Seeking for Perl wisdom...on the process of learning...not there...yet!
In Section
Seekers of Perl Wisdom
|
|