org.dbpedia.extraction.util

Language

class Language extends Serializable

Represents a MediaWiki instance and the language used on it. Initially, this class was only used for xx.wikipedia.org instances, but now we also use it for mappings.dbpedia.org and www.wikidata.org. For each language, there is only one instance of this class. TODO: rename this class to WikiCode or so, distinguish between enwiki / enwiktionary etc.

Linear Supertypes
Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Language
  2. Serializable
  3. AnyRef
  4. 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. val apiUri: String

    API URI for this wiki, e.g.

    API URI for this wiki, e.g. "https://be-x-old.wikipedia.org/w/api.php", "http://commons.wikimedia.org/w/api.php", "https://mappings.dbpedia.org/api.php".

  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. val baseUri: String

    URI prefix for this wiki, e.g.

    URI prefix for this wiki, e.g. "http://be-x-old.wikipedia.org", "http://commons.wikimedia.org", "http://mappings.dbpedia.org".

  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val dbpediaDomain: String

    Specific DBpedia domain for this language, e.g.

    Specific DBpedia domain for this language, e.g. "en.dbpedia.org". May be null, e.g. for mappings.

  9. val dbpediaUri: String

    Specific DBpedia base URI for this language, e.g.

    Specific DBpedia base URI for this language, e.g. "http://en.dbpedia.org". May be null, e.g. for mappings.

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

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

    Definition Classes
    AnyRef → Any
  12. val filePrefix: String

    Wikipedia dump files use this prefix (with underscores), e.g.

    Wikipedia dump files use this prefix (with underscores), e.g. be_x_old, but Wikipedia domains use the wikiCode (with dashes), e.g. http://be-x-old.wikipedia.org

  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 hashCode(): Int

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

    Definition Classes
    Any
  17. val iso639_3: String

  18. val isoCode: String

    "en", "de", ...

  19. val locale: Locale

  20. val name: String

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

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

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

    Definition Classes
    AnyRef
  24. val pages: Int

  25. val propertyUri: RdfNamespace

    Specific property namespace for this language, e.g.

    Specific property namespace for this language, e.g. "http://en.dbpedia.org/property/" or "http://www.wikidata.org/entity/". May be null, e.g. for mappings. The value is not a string. Use propertyUri.append("xy"), not string concatenation.

  26. val resourceUri: RdfNamespace

    Specific resource namespace for this language, e.g.

    Specific resource namespace for this language, e.g. "http://en.dbpedia.org/resource/" or "http://www.wikidata.org/entity/". May be null, e.g. for mappings. The value is not a string. Use resourceUri.append("Xy"), not string concatenation.

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

    Definition Classes
    AnyRef
  28. def toString(): String

    Definition Classes
    Language → 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( ... )
  32. val wikiCode: String

    "en", "de", "mappings", "wikidata", ...

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped