Re: [Dbpedia-developers] error using IOUtils.scala

2013-08-07 Thread Jona Christopher Sahnwaldt
On 7 August 2013 17:25, Hady elsahar wrote: > > Hello All, > > i've fixed the code according to JC update to Readlines > the latest update : > https://github.com/hadyelsahar/extraction-framework/commit/da3ddb8ee6d1274ca575805258e9bfb3603d82d7 Looks good! > > >> I implemented the first solution

Re: [Dbpedia-developers] error using IOUtils.scala

2013-08-07 Thread Hady elsahar
Hello All, i've fixed the code according to JC update to Readlines the latest update : https://github.com/hadyelsahar/extraction-framework/commit/da3ddb8ee6d1274ca575805258e9bfb3603d82d7 I implemented the first solution (last value is null): > > > https://github.com/dbpedia/extraction-framework/

Re: [Dbpedia-developers] error using IOUtils.scala

2013-08-03 Thread Jona Christopher Sahnwaldt
On 2 August 2013 22:11, Jona Christopher Sahnwaldt wrote: > On 2 August 2013 11:52, Hady elsahar wrote: >>> Scala uses implicit conversions, so instead of the explicit conversion >>> new RichFile(...) you can just import a method that does that >>> conversion and is declared as implicit. In this

Re: [Dbpedia-developers] error using IOUtils.scala

2013-08-02 Thread Jona Christopher Sahnwaldt
On 2 August 2013 11:52, Hady elsahar wrote: >> Scala uses implicit conversions, so instead of the explicit conversion >> new RichFile(...) you can just import a method that does that >> conversion and is declared as implicit. In this case, >> RichReader.wrapReader. >> >> You can basically replace

Re: [Dbpedia-developers] error using IOUtils.scala

2013-08-02 Thread Jona Christopher Sahnwaldt
On 2 August 2013 11:52, Hady elsahar wrote: >> Scala uses implicit conversions, so instead of the explicit conversion >> new RichFile(...) you can just import a method that does that >> conversion and is declared as implicit. In this case, >> RichReader.wrapReader. >> >> You can basically replace

Re: [Dbpedia-developers] error using IOUtils.scala

2013-08-02 Thread Hady elsahar
> > Scala uses implicit conversions, so instead of the explicit conversion > new RichFile(...) you can just import a method that does that > conversion and is declared as implicit. In this case, > RichReader.wrapReader. You can basically replace the three lines of > code above by one import and on

Re: [Dbpedia-developers] error using IOUtils.scala

2013-07-30 Thread Jona Christopher Sahnwaldt
On 30 July 2013 06:47, Hady elsahar wrote: > > Hi Jona , > >> >> > i noticed that the full version of IOUtils file is in the dump branch >> > unlike >> > the master branch >> > https://github.com/dbpedia/extraction-framework/blob/dump/core/src/main/scala/org/dbpedia/extraction/util/IOUtils.scala

Re: [Dbpedia-developers] error using IOUtils.scala

2013-07-29 Thread Hady elsahar
Hi Jona , > > i noticed that the full version of IOUtils file is in the dump branch > unlike > > the master branch > > > https://github.com/dbpedia/extraction-framework/blob/dump/core/src/main/scala/org/dbpedia/extraction/util/IOUtils.scala > > > > so i pulled that file exclusively from the dump

Re: [Dbpedia-developers] error using IOUtils.scala

2013-07-29 Thread Jona Christopher Sahnwaldt
On 29 July 2013 20:19, Hady elsahar wrote: > Hello All, > > i'm working on a clone of the master branch of the extraction framework: > > i noticed that the full version of IOUtils file is in the dump branch unlike > the master branch > https://github.com/dbpedia/extraction-framework/blob/dump/core

[Dbpedia-developers] error using IOUtils.scala

2013-07-29 Thread Hady elsahar
Hello All, i'm working on a clone of the master branch of the extraction framework: i noticed that the full version of IOUtils file is in the dump branch unlike the master branch https://github.com/dbpedia/extraction-framework/blob/dump/core/src/main/scala/org/dbpedia/extraction/util/IOUtils.scal