xueping / dblp-parser Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/dblp-parser
Automatically exported from code.google.com/p/dblp-parser
1. Download dblp.xml and dblp.dtd from http://dblp.uni-trier.de/xml/, and save them at the same folder. 2. Restore the database with mysql dump file (dblp.sql) Suppose you have already installed mysql database. You may first log to your mysql and then use "source" command to restore the database: mysql>> source path_of_dblp.sql If everything goes well, a database named dblp with four tables (i.g., author, citation, conference, paper) has been created. 3. Configure database connection Please change the settings (i.g., dbUrl, user, password) in db/DBConnection.java accordingly. 4. Run the parser a. Using IDE, for example, Eclipse. You need to add mysql-connector-java-6.0-bin.jar to the build path. See this post if you need any help. http://www.wikihow.com/Add-JARs-to-Project-Build-Paths-in-Eclipse-(Java) And then run Parser.java with proper program argument (the path of dblp.xml) and VM arguments (-Xmx1G -DentityExpansionLimit=2500000). You may see this post on how to specify arguments in Eclipse. http://www.cs.colostate.edu/helpdocs/eclipseCommLineArgs.html b. Using the command line Similarly, you need to add mysql-connector-java-6.0-bin.jar in the classpath, and set the arguments. The command will be something like: java -cp mysql-connector-java-6.0-bin.jar -Xmx1G -DentityExpansionLimit=2500000 Parser [path_of_dblp.xml] The program will run for a while. For example, it takes 974 seconds to parse dblp-2014.xml using my desktop.
What steps will reproduce the problem?
Some of the journal papers is not inserted
I found that the code could not correctly insert some of the journal papers. I
guess it's related to the xml format. I am using the dblp.xml on April of 2015.
Original issue reported on code.google.com by [email protected]
on 18 Apr 2015 at 7:09
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.