Hello,

I'm reading through Summarizer.java, there is one line that I don't understand.
Line 244 of Summarizer.java in nutch 0.6:

double tokenFraction = (1.0 * excerpt.getNumTerms()) / excerpt.numFragments();

In this portion of the class, the Summary object is being built.
Why is this fraction used instead of just exceprt.getNumTerms() ?

Thanks,
Ralph


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Nutch-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-developers

Reply via email to