org.dbpedia.extraction.scripts

ProcessInterLanguageLinks

class ProcessInterLanguageLinks extends AnyRef

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

Instance Constructors

  1. new ProcessInterLanguageLinks(baseDir: File, dumpFile: File, fileSuffix: String, extension: String)

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. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    AnyRef → Any
  11. val interLinkExtension: String

  12. val interLinkUri: String

  13. final def isInstanceOf[T0]: Boolean

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

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

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

    Definition Classes
    AnyRef
  17. def parseUri(uri: String): Long

    Look up language and title in domain and title indexes.

    Look up language and title in domain and title indexes. Side effect: store title in index if not already set.

  18. def readDump(): Unit

    Read dump file.

    Read dump file. Must be called before writeTriples() if readTriples() is not called. Initializes the following fields: languages, dates, domains, titles, titleCount, links

  19. def readTriples(): Unit

    Read links from interlanguage-links triple files.

    Read links from interlanguage-links triple files. Accesses (and in the end nulls) titleKeys and domainKeys, so it must be called after setLanguages() and must not be called twice. Must be called before writeTriples() if readDump() is not called. Initializes the following fields: titles, titleKeys, titleCount, links Clears the following fields: titleKeys, domainKeys

  20. val sameAsExtension: String

  21. val sameAsUri: String

  22. val seeAlsoExtension: String

  23. val seeAlsoUri: String

  24. def setLanguages(languages: Array[Language], generic: Language): Unit

    Build domain index.

    Build domain index. Must be called before readTriples(). Initializes the following fields: languages, dates, domains, domainKeys

  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. def toString(): String

    Definition Classes
    AnyRef → Any
  27. val uriPath: String

  28. val uriPrefix: String

  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( ... )
  32. def writeTriples(): Unit

    Write links to interlanguage-links-same-as and interlanguage-links-see-also triple files.

    Write links to interlanguage-links-same-as and interlanguage-links-see-also triple files. Must be called after either readDump() or readTriples() and sortLinks(). Accesses the following fields: titles, domains, links

    TODO: it would be nice if we could also produce quad files, not just triple files. But: we don't want to store all context URIs in memory, so we should process the input files again in this method, not just serialize the link array. We would have to refactor readTriples() so we can re-use its main loop for writeTriples() as well. Only the innermost part of the main loop would differ, and of course some stuff before and after the main loop.

Inherited from AnyRef

Inherited from Any

Ungrouped