dbpedia / lookup

Outputs a list of ranked DBpedia resources for a search string.
Apache License 2.0
185 stars 39 forks source link

WikiStatsExtractor must sum references by URI #40

Open sandroacoelho opened 8 years ago

sandroacoelho commented 8 years ago

The pairCounts file has 3(three) columns as follow:

When I run ./run Indexer lookup_index_dir redirects_en.ttl pairCounts, DBpedia Lookup must fill the index using URI as key, with all surface forms summing reference count.

Example:

Berlin http://dbpedia.org/resource/Berlin 33909 Europe/Berlin http://dbpedia.org/resource/Berlin 610

Reference count sum: 34519

Index berlin