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

Unable to Read csv or json files #61

Open
faisalkhalikkhan opened this issue Jul 25, 2022 · 1 comment
Open

Unable to Read csv or json files #61

faisalkhalikkhan opened this issue Jul 25, 2022 · 1 comment

Comments

@faisalkhalikkhan
Copy link

I have my own custom data csv files for both dataset as well as ground truth file,
can anyone help me to use this file to get result.
Actually it throw some errors while using this files as an input.

Exception in thread "main" java.lang.IllegalArgumentException: loops not allowed at org.jgrapht.graph.AbstractBaseGraph.addEdge(AbstractBaseGraph.java:218) at org.scify.jedai.datareader.groundtruthreader.GtCSVReader.getDuplicatePairs(GtCSVReader.java:206) at org.scify.jedai.datareader.groundtruthreader.AbstractGtReader.getDuplicatePairs(AbstractGtReader.java:58) at org.scify.jedai.workflowbuilder.Main.main(Main.java:254)

can anyone help me?

@gpapadis
Copy link
Collaborator

gpapadis commented Aug 9, 2022

HI!
I am sorry for the late reply. What kind of dataset are you trying to use? A dirty er or a clean-clean ER one?
This error is thrown when JedAI cannot read the dataset correctly and assigns the same id (0) to all entities.
Check these issues

  1. Null pointer when trying to load data using latest release #19
  2. Dirty ER examples input .csv #60
    for some hints on using CSV files with JedAI.

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

No branches or pull requests

2 participants