IBM / cc-dbp

A dataset for knowledge base population research using Common Crawl and DBpedia.
Apache License 2.0
28 stars 19 forks source link

Problems when using the command createSmall #4

Closed heathersherry closed 4 years ago

heathersherry commented 4 years ago

Dear authors,

I came across a problem when trying to use the commandbash createSmall.sh. Here is the error information:

Exception in thread "main" java.io.IOError: java.lang.IllegalStateException: Couldn't create parent dir: configSmall.properties/kb at com.ibm.research.ai.ki.util.FileUtil.ensureWriteable(FileUtil.java:167) at com.ibm.research.ai.ki.kb.conversion.SelectRelations.downloadDBpedia(SelectRelations.java:109) at com.ibm.research.ai.ki.kb.conversion.ConvertDBpedia.main(ConvertDBpedia.java:482) Caused by: java.lang.IllegalStateException: Couldn't create parent dir: configSmall.properties/kb ... 3 more

Could you give me some hints to solve this problem? BTW, I have tried mvn clean compile package install and the build is success.

Thanks a lot!

michaelrglass commented 4 years ago

I updated the documentation and argument checking for the script. createSmall.sh now reports that it expects a single argument: the name of the directory to save the dataset.