org.dbpedia.extraction.wikiparser.impl

wikipedia

package wikipedia

Visibility
  1. Public
  2. All

Value Members

  1. object CuratedDisambiguation

    Holds the redirect identifiers of the different Wikipedia languages.

    Holds the redirect identifiers of the different Wikipedia languages. Generated by Generate.php.

    TODO: get them complete and up-to-date from http://af.wikipedia.org/wiki/MediaWiki:Disambiguationspage http://am.wikipedia.org/wiki/MediaWiki:Disambiguationspage http://ar.wikipedia.org/wiki/MediaWiki:Disambiguationspage and so on...

  2. object Disambiguation

    Holds the disambiguation templates of the different Wikipedia languages.

    Holds the disambiguation templates of the different Wikipedia languages. Do not edit Disambiguation.scala! GenerateWikiSettings.scala uses the template file Disambiguation.scala.txt to generate Disambiguation.scala.

  3. object GenerateWikiSettings

    Generates Namespaces.scala and Redirect.scala.

    Generates Namespaces.scala and Redirect.scala. Must be run with core/ as the current directory.

    FIXME: This should be used to download the data for just one language and maybe store it in a text file or simply in memory. (Loading the stuff only takes between .2 and 2 seconds per language.) Currently this class is used to generate two huge configuration classes for all languages. That's not good.

    TODO: error handling. So far, it didn't seem necessary. api.php seems to work, and this class is so far used with direct human supervision.

  4. object Namespaces

    Holds the namespace and alias names of all Wikipedia languages.

    Holds the namespace and alias names of all Wikipedia languages. Do not edit Namespaces.scala! GenerateWikiSettings.scala uses the template file Namespaces.scala.txt to generate Namespaces.scala.

  5. object Redirect

    Holds the redirect identifiers of the different Wikipedia languages.

    Holds the redirect identifiers of the different Wikipedia languages. Do not edit Redirect.scala! GenerateWikiSettings.scala uses the template file Redirect.scala.txt to generate Redirect.scala.

Ungrouped