[ http://issues.apache.org/jira/browse/NUTCH-230?page=comments#action_12370426 ]
Andrzej Bialecki commented on NUTCH-230: ----------------------------------------- Yes, these are good examples - I'll prepare a patch to make this a boolean setting; if false (default) the calculation will be as it is now, if true all filtered out links won't count. > OPIC score for outlinks should be based on # of valid links, not total # of > links. > ---------------------------------------------------------------------------------- > > Key: NUTCH-230 > URL: http://issues.apache.org/jira/browse/NUTCH-230 > Project: Nutch > Type: Improvement > Versions: 0.8-dev > Reporter: Ken Krugler > Priority: Minor > > In ParseOutputFormat.java, the write() method currently divides the page > score by the # of outlinks: > score /= links.length; > It then loops over the links, and any that pass the normalize/filter gauntlet > get added to the crawl output. > But this means that any filtered links result in some amount of the page's > OPIC score being "lost". > For Nutch 0.7, I built a list of valid (post-filter) links, and then used > that to determine the per-link OPIC score, after which I iterated over the > list, adding entries to the crawl output. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nutch-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nutch-developers
