org.dbpedia.extraction.mappings

GalleryExtractor

class GalleryExtractor extends WikiPageExtractor

Extract images from galleries. I'm not sure what the best RDF representation of this will be, but for now we'll start with:

The gallery tag is documented at https://en.wikipedia.org/wiki/Help:Gallery_tag

Linear Supertypes
WikiPageExtractor, Extractor[WikiPage], Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. GalleryExtractor
  2. WikiPageExtractor
  3. Extractor
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GalleryExtractor(context: AnyRef { ... /* 2 definitions in type refinement */ })

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val datasets: Set[Dataset]

    Datasets generated by this extractor.

    Datasets generated by this extractor. Used for serialization. If a mapping implementation does not return all datasets it produces, serialization may fail.

    Definition Classes
    GalleryExtractorExtractor
  7. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  9. def extract(page: WikiPage, subjectUri: String): Seq[Quad]

    Extract gallery tags from a WikiPage.

    Extract gallery tags from a WikiPage.

    subjectUri

    The subject URI of the generated triples

    returns

    A graph holding the extracted data

    Definition Classes
    GalleryExtractorExtractor
  10. val fileLineRegex: Regex

    I developed the "does this look like a title" logic from https://www.mediawiki.org/wiki/Manual:Page_title

  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def finalizeExtractor(): Unit

    when extractor needs some finalization

    when extractor needs some finalization

    Definition Classes
    Extractor
  13. val galleryRegex: Regex

    Check for gallery tags in the page source.

  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  16. def initializeExtractor(): Unit

    when extractor has a pre-phase

    when extractor has a pre-phase

    Definition Classes
    Extractor
  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  21. var state: ExtractorState.Value

    Definition Classes
    Extractor
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  23. def toString(): String

    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from WikiPageExtractor

Inherited from Extractor[WikiPage]

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped