Hi Hady,
This is not a bug, JC changed the configuration files a bit. Look at any
default extraction property file and you will get it
cheers,
Dimitris
On Tue, Dec 10, 2013 at 2:51 AM, Hady elsahar <[email protected]> wrote:
> Hi All ,
>
> in previous versions [1] of the file Config.scala in the line 147 used to
> be like this
>
> val className = if (! name.contains("."))
> classOf[Extractor].getPackage.getName+'.'+name else name
>
>
> which is logic because if you write "LabelExtractor" as Extractor in config
> file , it will concatenate to it "org.dbpedia.extraction.mappings." and
> loads it
>
> but after Dimitris and Andreas merged the main and the Dumb branch , it's
> found to be like this[2] , this didn't work correctly , it always raises
> class not found exception :
>
> val className = if (name.startsWith("."))
> classOf[Extractor].getPackage.getName+name else name
>
>
>
> when i changed it back to the first version it worked correctly , so i wonder
> about that ?
>
>
>
> 1-
> https://github.com/hadyelsahar/extraction-framework/blob/e26ef813dad098d573be34191dfaef13c78b5986/dump/src/main/scala/org/dbpedia/extraction/dump/extract/Config.scala
>
>
> 2-
> https://github.com/hadyelsahar/extraction-framework/blob/990bc1576007172361e05d3ccec1d53d666bf258/dump/src/main/scala/org/dbpedia/extraction/dump/extract/Config.scala
>
>
> Thanks
> Regards
> -------------------------------------------------
> Hady El-Sahar
> Research Assistant
> Center of Informatics Sciences | Nile
> University<http://nileuniversity.edu.eg/>
>
>
>
>
> ------------------------------------------------------------------------------
> Sponsored by Intel(R) XDK
> Develop, test and display web and hybrid apps with a single code base.
> Download it for free now!
>
> http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
> _______________________________________________
> Dbpedia-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dbpedia-developers
>
>
--
Dimitris Kontokostas
Department of Computer Science, University of Leipzig
Research Group: http://aksw.org
Homepage:http://aksw.org/DimitrisKontokostas
------------------------------------------------------------------------------
Sponsored by Intel(R) XDK
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Dbpedia-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-developers