mozilla / fathom

A framework for extracting meaning from web pages

Home Page:http://mozilla.github.io/fathom/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Re-add conserveScore() to the codebase

erikrose opened this issue · comments

I removed it to get 3.0 out the door quickly. It should work fine, but I was having trouble getting all the tests to pass.

It turns out it's useful after all. Fathom is a system of pipes and filters, and conserveScore() represents merging multiple pipes into one—in concrete terms, multiple types back into one. This has a near-future use case for Firefox for Fire TV, where they might want to merge multiple element-recognizers into a single page categorizer.

I removed conserveScore() in 35b4533. Start there.