readability v0.10.0 Readability.CandidateFinder
The builing and finding candidates engine It traverses the HTML tree searching, removing, socring nodes
Link to this section Summary
Functions
Find candidates that shuld be meaningful article by analysing nodes
Find the highest score candidate
Link to this section Types
Link to this section Functions
Link to this function
find(text, opts \\ [], tree_depth \\ 0)
find(html_tree, options, number) :: [Readability.Candidate.t]
Find candidates that shuld be meaningful article by analysing nodes
Link to this function
find_best_candidate(candidates)
find_best_candidate([Readability.Candidate.t]) :: Readability.Candidate.t
Find the highest score candidate.