Documentation of 'com.datumbox.framework.applications.nlp.CETR' Java class
CETR
com.datumbox.framework.applications.nlp

Class CETR



  • public class CETR
    extends java.lang.Object
    The CETR class (Content Extraction with Tag Ratios) enables you to extract the content text from HTML pages. It uses the tag ratios of each line and performs clustering to separate the real text of the page from menus, footers and headers. References: http://www.cs.uiuc.edu/~hanj/pdf/www10_tweninger.pdf http://web.engr.illinois.edu/~weninge1/cetr/
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class and Description
      static class  CETR.Parameters
      The object with the Parameters of the Algorithm.
    • Constructor Summary

      Constructors 
      Constructor and Description
      CETR(Configuration configuration)
      Constructor for the CETR class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String extract(java.lang.String html, CETR.Parameters parameters)
      Extracts the main content for an HTML page.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CETR

        public CETR(Configuration configuration)
        Constructor for the CETR class.
        Parameters:
        configuration -
    • Method Detail

      • extract

        public java.lang.String extract(java.lang.String html,
                                        CETR.Parameters parameters)
        Extracts the main content for an HTML page.
        Parameters:
        html -
        parameters -
        Returns:

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.