Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UBY dependency versions are messed up #3

Open
gbella opened this issue Apr 3, 2018 · 1 comment
Open

UBY dependency versions are messed up #3

gbella opened this issue Apr 3, 2018 · 1 comment
Assignees
Labels

Comments

@gbella
Copy link

gbella commented Apr 3, 2018

There are two dependency sections (!) in the pom. One is stating a dependency on dkpro.uby 0.7.0-SNAPSHOT, the other one on 0.7.0-div-SNAPSHOT (that does not seem to exist). Meanwhile, the dkpro-uby fork bundled with Diversicon is of version 0.8.0.

Probably because of this, when compiling DivMaker, one gets the following bug:
DivMaker.java:[253,21] error: incompatible types: String cannot be converted to File

This is because Uby's WNConverter constructor expects a File parameter while DivMaker is providing a String filename parameter.

@DavidLeoni
Copy link
Member

Elementary Watson, this is yet another blatant case of RTFM!

Let me point you to the evidence:

Nevertheless, I suggest mercy for the perpetrator, as one important bit seems missing from that manual, which is the following:

The two dependency sections are fine, because the first one actually imports the uby pom.

IIRC, the DKPRO fork was only done only to fix the wordnet generator, so if you compile develop-div branch (probably you just need to compile that particular module, not the whole dkpro) it should work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants