nordlys.core.data.dbpedia.indexer_dbpedia_types module

DBpedia Types Indexer

Build an index of DBpedia types from entity abstracts.

Authors:Krisztian Balog, Dario Garigliotti
class nordlys.core.data.dbpedia.indexer_dbpedia_types.IndexerDBpediaTypes(config)[source]

Bases: object

build_index(force=False)[source]

Builds the index.

Parameters:force (bool) – True iff it is required to overwrite the index (i.e. by creating it by force); False by default.
Returns:
name
nordlys.core.data.dbpedia.indexer_dbpedia_types.arg_parser(description=None)[source]

Returns a 2-uple with the parsed paths to the type-to-entity and entity abstracts source files.

nordlys.core.data.dbpedia.indexer_dbpedia_types.main(args)[source]