org.dbpedia.extraction.util

ExtractorUtils

object ExtractorUtils

User: Dimitris Kontokostas Various utils for loading Extractors I don't like this so much but it's the only way to reuse extraction configuration code on multiple modules (dump / server) Created: 5/19/14 11:06 AM

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ExtractorUtils
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

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. def collectInternalLinksFromNode(node: Node): List[InternalLinkNode]

    Collects all internal links from a Node

  7. def collectParserFunctionsFromNode(node: Node): List[ParserFunctionNode]

  8. def collectTemplateParametersFromNode(node: Node): List[TemplateParameterNode]

  9. def collectTemplatesFromNodeTransitive(node: Node): List[TemplateNode]

  10. val commonsNamespacesContainingMetadata: Set[Namespace]

    List of namespaces in the Commons that might contain metadata.

    List of namespaces in the Commons that might contain metadata. These should be processed by the appropriate mappings, but should probably be moved into a configuration file somewhere.

  11. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. def getDbpediaFileURL(filename: String, language: Language): String

    Determine the file URL on DBpedia for a filename.

    Determine the file URL on DBpedia for a filename.

    filename

    the name of the file.

    language

    the wiki on which the file exists.

    returns

    the file URL

  16. def getFileURL(filename: String, language: Language): String

    Determine the file URL for a filename.

    Determine the file URL for a filename.

    filename

    the name of the file.

    language

    the wiki on which the file exists.

    returns

    the file URL

  17. def getThumbnailURL(filename: String, language: Language): String

    Determine the thumbnail URL given a filename.

    Determine the thumbnail URL given a filename. Note that this is meaningless for non-image files: MediaWiki will return the raw file whatever width is provided.

    filename

    the name of the file.

    language

    the wiki on which this file exists.

    returns

    the thumbnail URL

  18. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. def loadExtractorClass(name: String): Class[_ <: Extractor[_]]

  21. def loadExtractorClassSeq(names: Seq[String]): Seq[Class[_ <: Extractor[_]]]

  22. def loadExtractorsMapFromConfig(languages: Seq[Language], config: Properties): Map[Language, Seq[Class[_ <: Extractor[_]]]]

    creates a map of languages and extractors from a Properties file examples are as follows # default for all languages extractors=.ArticleCategoriesExtractor,.ArticleTemplatesExtractor,

    creates a map of languages and extractors from a Properties file examples are as follows # default for all languages extractors=.ArticleCategoriesExtractor,.ArticleTemplatesExtractor,

    # custom per language extractors.bg=.MappingExtractor

    Note: If a language xx is not defined but extractor.xx exists extractor.xx extractors will be skipped

  23. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  27. def titleContainsCommonsMetadata(title: WikiTitle): Boolean

    Check if this WikiTitle is (1) on the Commons, and (2) contains metadata.

  28. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped