Tabnine Logo
DefaultTagActionMap
Code IndexAdd Tabnine to your IDE (free)

How to use
DefaultTagActionMap
in
de.l3s.boilerpipe.sax

Best Java code snippets using de.l3s.boilerpipe.sax.DefaultTagActionMap (Showing top 4 results out of 315)

origin: de.l3s.boilerpipe/boilerpipe

  protected DefaultTagActionMap() {
    setTagAction("STYLE", CommonTagActions.TA_IGNORABLE_ELEMENT);
    setTagAction("SCRIPT", CommonTagActions.TA_IGNORABLE_ELEMENT);
    setTagAction("OPTION", CommonTagActions.TA_IGNORABLE_ELEMENT);
    setTagAction("OBJECT", CommonTagActions.TA_IGNORABLE_ELEMENT);
    setTagAction("EMBED", CommonTagActions.TA_IGNORABLE_ELEMENT);
    setTagAction("APPLET", CommonTagActions.TA_IGNORABLE_ELEMENT);
    setTagAction("LINK", CommonTagActions.TA_IGNORABLE_ELEMENT);

    setTagAction("A", CommonTagActions.TA_ANCHOR_TEXT);
    setTagAction("BODY", CommonTagActions.TA_BODY);

    setTagAction("STRIKE", CommonTagActions.TA_INLINE_NO_WHITESPACE);
    setTagAction("U", CommonTagActions.TA_INLINE_NO_WHITESPACE);
    setTagAction("B", CommonTagActions.TA_INLINE_NO_WHITESPACE);
    setTagAction("I", CommonTagActions.TA_INLINE_NO_WHITESPACE);
    setTagAction("EM", CommonTagActions.TA_INLINE_NO_WHITESPACE);
    setTagAction("STRONG", CommonTagActions.TA_INLINE_NO_WHITESPACE);
    setTagAction("SPAN", CommonTagActions.TA_INLINE_NO_WHITESPACE);
    
    // New in 1.1 (especially to improve extraction quality from Wikipedia etc.)
    setTagAction("SUP", CommonTagActions.TA_INLINE_NO_WHITESPACE);

    setTagAction("ABBR", CommonTagActions.TA_INLINE_WHITESPACE);
    setTagAction("ACRONYM", CommonTagActions.TA_INLINE_WHITESPACE);

    setTagAction("FONT", CommonTagActions.TA_INLINE_NO_WHITESPACE); // could also use TA_FONT 
  }
}
origin: com.syncthemall/boilerpipe

protected DefaultTagActionMap() {
  setTagAction("STYLE", CommonTagActions.TA_IGNORABLE_ELEMENT);
  setTagAction("SCRIPT", CommonTagActions.TA_IGNORABLE_ELEMENT);
  setTagAction("OPTION", CommonTagActions.TA_IGNORABLE_ELEMENT);
  setTagAction("OBJECT", CommonTagActions.TA_IGNORABLE_ELEMENT);
  setTagAction("EMBED", CommonTagActions.TA_IGNORABLE_ELEMENT);
  setTagAction("APPLET", CommonTagActions.TA_IGNORABLE_ELEMENT);
  setTagAction("LINK", CommonTagActions.TA_IGNORABLE_ELEMENT);
  setTagAction("A", CommonTagActions.TA_ANCHOR_TEXT);
  setTagAction("BODY", CommonTagActions.TA_BODY);
  setTagAction("STRIKE", CommonTagActions.TA_INLINE_NO_WHITESPACE);
  setTagAction("U", CommonTagActions.TA_INLINE_NO_WHITESPACE);
  setTagAction("B", CommonTagActions.TA_INLINE_NO_WHITESPACE);
  setTagAction("I", CommonTagActions.TA_INLINE_NO_WHITESPACE);
  setTagAction("EM", CommonTagActions.TA_INLINE_NO_WHITESPACE);
  setTagAction("STRONG", CommonTagActions.TA_INLINE_NO_WHITESPACE);
  setTagAction("SPAN", CommonTagActions.TA_INLINE_NO_WHITESPACE);
  setTagAction("SUP", CommonTagActions.TA_INLINE_NO_WHITESPACE);
  setTagAction("CODE", CommonTagActions.TA_INLINE_NO_WHITESPACE);
  setTagAction("TT", CommonTagActions.TA_INLINE_NO_WHITESPACE);
  setTagAction("SUB", CommonTagActions.TA_INLINE_NO_WHITESPACE);
  setTagAction("VAR", CommonTagActions.TA_INLINE_NO_WHITESPACE);
  setTagAction("ABBR", CommonTagActions.TA_INLINE_WHITESPACE);
  setTagAction("ACRONYM", CommonTagActions.TA_INLINE_WHITESPACE);
origin: Netbreeze-GmbH/boilerpipe

protected DefaultTagActionMap() {
  setTagAction("STYLE", CommonTagActions.TA_IGNORABLE_ELEMENT);
  setTagAction("SCRIPT", CommonTagActions.TA_IGNORABLE_ELEMENT);
  setTagAction("OPTION", CommonTagActions.TA_IGNORABLE_ELEMENT);
  setTagAction("OBJECT", CommonTagActions.TA_IGNORABLE_ELEMENT);
  setTagAction("EMBED", CommonTagActions.TA_IGNORABLE_ELEMENT);
  setTagAction("APPLET", CommonTagActions.TA_IGNORABLE_ELEMENT);
  setTagAction("LINK", CommonTagActions.TA_IGNORABLE_ELEMENT);
  setTagAction("A", CommonTagActions.TA_ANCHOR_TEXT);
  setTagAction("BODY", CommonTagActions.TA_BODY);
  setTagAction("STRIKE", CommonTagActions.TA_INLINE_NO_WHITESPACE);
  setTagAction("U", CommonTagActions.TA_INLINE_NO_WHITESPACE);
  setTagAction("B", CommonTagActions.TA_INLINE_NO_WHITESPACE);
  setTagAction("I", CommonTagActions.TA_INLINE_NO_WHITESPACE);
  setTagAction("EM", CommonTagActions.TA_INLINE_NO_WHITESPACE);
  setTagAction("STRONG", CommonTagActions.TA_INLINE_NO_WHITESPACE);
  setTagAction("SPAN", CommonTagActions.TA_INLINE_NO_WHITESPACE);
  setTagAction("SUP", CommonTagActions.TA_INLINE_NO_WHITESPACE);
  setTagAction("CODE", CommonTagActions.TA_INLINE_NO_WHITESPACE);
  setTagAction("TT", CommonTagActions.TA_INLINE_NO_WHITESPACE);
  setTagAction("SUB", CommonTagActions.TA_INLINE_NO_WHITESPACE);
  setTagAction("VAR", CommonTagActions.TA_INLINE_NO_WHITESPACE);
  setTagAction("ABBR", CommonTagActions.TA_INLINE_WHITESPACE);
  setTagAction("ACRONYM", CommonTagActions.TA_INLINE_WHITESPACE);
origin: pvdlg/boilerpipe

protected DefaultTagActionMap() {
  setTagAction("STYLE", CommonTagActions.TA_IGNORABLE_ELEMENT);
  setTagAction("SCRIPT", CommonTagActions.TA_IGNORABLE_ELEMENT);
  setTagAction("OPTION", CommonTagActions.TA_IGNORABLE_ELEMENT);
  setTagAction("OBJECT", CommonTagActions.TA_IGNORABLE_ELEMENT);
  setTagAction("EMBED", CommonTagActions.TA_IGNORABLE_ELEMENT);
  setTagAction("APPLET", CommonTagActions.TA_IGNORABLE_ELEMENT);
  setTagAction("LINK", CommonTagActions.TA_IGNORABLE_ELEMENT);
  setTagAction("A", CommonTagActions.TA_ANCHOR_TEXT);
  setTagAction("BODY", CommonTagActions.TA_BODY);
  setTagAction("STRIKE", CommonTagActions.TA_INLINE_NO_WHITESPACE);
  setTagAction("U", CommonTagActions.TA_INLINE_NO_WHITESPACE);
  setTagAction("B", CommonTagActions.TA_INLINE_NO_WHITESPACE);
  setTagAction("I", CommonTagActions.TA_INLINE_NO_WHITESPACE);
  setTagAction("EM", CommonTagActions.TA_INLINE_NO_WHITESPACE);
  setTagAction("STRONG", CommonTagActions.TA_INLINE_NO_WHITESPACE);
  setTagAction("SPAN", CommonTagActions.TA_INLINE_NO_WHITESPACE);
  setTagAction("SUP", CommonTagActions.TA_INLINE_NO_WHITESPACE);
  setTagAction("CODE", CommonTagActions.TA_INLINE_NO_WHITESPACE);
  setTagAction("TT", CommonTagActions.TA_INLINE_NO_WHITESPACE);
  setTagAction("SUB", CommonTagActions.TA_INLINE_NO_WHITESPACE);
  setTagAction("VAR", CommonTagActions.TA_INLINE_NO_WHITESPACE);
  setTagAction("ABBR", CommonTagActions.TA_INLINE_WHITESPACE);
  setTagAction("ACRONYM", CommonTagActions.TA_INLINE_WHITESPACE);
de.l3s.boilerpipe.saxDefaultTagActionMap

Javadoc

Default TagActions. Seem to work well.

Most used methods

  • setTagAction

Popular in Java

  • Creating JSON documents from java classes using gson
  • getResourceAsStream (ClassLoader)
  • addToBackStack (FragmentTransaction)
  • notifyDataSetChanged (ArrayAdapter)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now