Re:NLP Challenge: Find semantically related terms over a lar...
by spencertipping on Saturday November 06, 2010 @06:29PM
(#1877924)
I have a preliminary implementation of this, geared for map/reduce-style parallelism in Perl, up at http://github.com/spencertipping/metaoptimize-challenge (in the fcm directory). It may be a start to solving step 3 -- using reduce-by-two on each step and dropping low-relevance words (I think this is valid, though I'm not 100% certain).
[ Parent
| on HN ]
Re:NLP Challenge: Find semantically related terms over a lar...
by blr_hack on Monday November 08, 2010 @01:27AM
(#1881610)
Hi!
Thanks for reading my suggested approach. I can understand how Map-reduce can be used to process the things faster (by processing them in parallel and later using reduce to aggregate the results??)
But can't imagine how reduce (of map-reduce) can help in dropping of word-pairs (i.e. in Step 3)
Re:NLP Challenge: Find semantically related terms over a lar...
by spencertipping on Monday November 08, 2010 @09:59AM
(#1882623)
I think it's an imperfect solution, though it might still be solid. It depends on your reduction strategy (basically breaking associativity). If you do a fold-left, then you'll accumulate such high relevance that you'll quickly start discarding every word in the right-hand data set. On the other hand, if you binary-split the folding process you're more likely to be OK.
I used a binary split and due to the sparseness of the data (and the uninsightfulness of my algorithm) didn't run into too many spurious drop cases. But the implementation I posted is very basic and shows my lack of background in NLP-related pursuits -- I'm lucky it did anything useful at all :)