dkpro / dkpro-wsd

DKPro WSD: A Java framework for word sense disambiguation
https://dkpro.github.io/dkpro-wsd
20 stars 10 forks source link

MASCReader unable to read from classpath #62

Open logological opened 9 years ago

logological commented 9 years ago

Originally reported on Google Code with ID 63

The MASCReader assumes that the location it reads from is on the file system. This should
not be necessary. By sticking to URLs and streams, it should also be able to read from
ZIP files or from the classpath - like other subclasses of ResourceCollectionReaderBase
can do as well.

Reported by richard.eckart on 2014-11-27 15:37:11

logological commented 9 years ago
Actually, it can read from the classpath: url, but probably not from a "jar:file:" URL.
I think the code could be improved in that direction.

Reported by richard.eckart on 2014-11-27 16:27:03