Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi all!
I have a problem that and I need to find a solution fast ... nothing new here
;-)
Ok, I have a master file (master.txt) that contains a huge list of words.
master.txt contains (small sample):
===========================
...
accumb
accumber
...
And I have an other file containing other words.
wordlist.txt contains (small sample):
===========================
...
accumbing
accumbed
reaccumb
overaccumb
foreaccumb
deaccumb
unaccumb
accumbe
accumbering
accumbered
reaccumber
overaccumber
foreaccumber
deaccumber
unaccumber
...
My job is to link each word in wordlist.txt with a word in master.txt.
So, out.txt should contain:
==============
...
accumb: accumbing, accumbed, reaccumb, overaccumb, foreaccumb, deaccumb,
unaccumb, accumbe.
accumber: accumbering, accumbered, reaccumber, overaccumber, foreaccumber,
deaccumber, unaccumber.
...
So that't the problem, I need help in making the association. I have to find the
'best' word to make the association with... is there an algorythm or a CPAN
modules that can help me...
thanks,
Jean-Daniel
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: word association problem
by graff (Chancellor) on Aug 06, 2002 at 04:51 UTC | |
|
Re: word association problem
by atcroft (Abbot) on Aug 06, 2002 at 04:42 UTC | |
|
Re: word association problem
by graff (Chancellor) on Aug 06, 2002 at 03:18 UTC | |
by Chmrr (Vicar) on Aug 06, 2002 at 03:58 UTC | |
|
Re: word association problem
by nmerriweather (Friar) on Aug 06, 2002 at 03:28 UTC | |
|
Re: word association problem
by hsmyers (Canon) on Aug 06, 2002 at 14:00 UTC | |
by jackdied (Monk) on Aug 08, 2002 at 00:28 UTC | |
|
Re: word association problem
by Ebany (Sexton) on Aug 06, 2002 at 17:33 UTC |