Method: LicenseMatcher::TFRubyMatcher#match_html
- Defined in:
- lib/license_matcher/tf_ruby_matcher.rb
#match_html(html_text, min_confidence = DEFAULT_MIN_CONFIDENCE) ⇒ Object
52 53 54 55 |
# File 'lib/license_matcher/tf_ruby_matcher.rb', line 52 def match_html(html_text, min_confidence = DEFAULT_MIN_CONFIDENCE) clean_text = LicenseMatcher::Preprocess.preprocess_html(html_text) match_text(clean_text, min_confidence) end |