Class ExpandTitleToContentFilter

  • All Implemented Interfaces:
    BoilerpipeFilter

    public final class ExpandTitleToContentFilter
    extends java.lang.Object
    implements BoilerpipeFilter
    Marks all TextBlocks "content" which are between the headline and the part that has already been marked content, if they are marked DefaultLabels.MIGHT_BE_CONTENT. This filter is quite specific to the news domain.
    • Method Summary

      Modifier and Type Method Description
      static ExpandTitleToContentFilter getInstance()
      Returns the singleton instance for ExpandTitleToContentFilter.
      boolean process​(TextDocument doc)
      Processes the given document doc.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait