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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    AnyRef → Any
  13. val interLinkExtension: String

  14. val interLinkUri: String

  15. final def isInstanceOf[T0]: Boolean

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

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

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

    Definition Classes
    AnyRef
  19. 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.

  20. 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

  21. 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

  22. val sameAsExtension: String

  23. val sameAsUri: String

  24. val seeAlsoExtension: String

  25. val seeAlsoUri: String

  26. 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

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

    Definition Classes
    AnyRef
  28. def toString(): String

    Definition Classes
    AnyRef → Any
  29. val uriPath: String

  30. val uriPrefix: String

  31. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. 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