dbpedia / mappings-tracker

This project is used for tracking mapping issues in mappings.dbpedia.org
9 stars 6 forks source link

citationExtractor should handle <ref> #88

Open VladimirAlexiev opened 8 years ago

VladimirAlexiev commented 8 years ago

Looking at https://github.com/dbpedia/extraction-framework/blob/master/core/src/main/scala/org/dbpedia/extraction/mappings/CitationExtractor.scala#L43, it handles cite.* and citation.* templates.

How about the simpler <ref> parser tag (or whachamacallit). Some examples

<ref>[https://www.cia.gov/library/publications/the-world-factbook/geos/ly.html
   The World Factbook – CIA]</ref>

<ref name="crimenes">[http://www.abc.es/20110301/archivo/abci-crimenes-gadafi-lockerbie-libia-201102281814.html
   Los crímenes de Gadafi]. ABC</ref>

<ref>[http://www.elpais.com/articulo/internacional/LIBIA/UNION_SOVIETICA/URSS/refuerza/poderio/militar/Libia/elpepiint/19770224elpepiint_9/Tes
   La URSS refuerza su poderío militar en Libia].
  [[Ел Паис]] 1977
 'La Unión Soviética ha reforzado su presencia militar en Libia ...'</ref>
VladimirAlexiev commented 8 years ago

Ooops sorry, wrong project, should have been in "extraction-framework"