How to run the AuthorCoref.scala? No embedding file provided

13 views
Skip to first unread message

Shubhanshu Mishra

unread,
Apr 28, 2016, 9:28:53 PM4/28/16
to Factorie
I am trying to replicate the results of the paper:


I downloaded the data from: http://www.iesl.cs.umass.edu/data/bibtex and stored the unzipped data in 
data/bibs

As specified on the project page I couldn't find any class named  cc.factorie.app.bib.BibReader.loadBibTexDir* or any other related named parsers. I did however, find some parsers in the package cc.factorie.app.bib.parser*. However, none of these parses have a main method which can be used for parsing the bibtex files. Neverthless, I ran the mongodb server, followed by the command:
$ ../SOFTWARE/apache-maven-3.3.9/bin/mvn scala:run -f ../SOFTWARE/factorie/pom.xml -DmainClass=cc.factorie.app.bib.hcoref.AuthorCoref -Dexec.args="--db-name bibtex"

But I end up getting the following errors:

Required CmdOption --embedding-file was not provided.
Usage: --model-author-bag-first-saturation=N --model-author-bag-topics-entropy-ordering=N --model-author-bag-first-initial-weight=N --model-author-bag-first-weight=N --model-author-bag-middle-initial-weight=N --model-author-bag-middle-weight=N --model-author-middlename-penalty=N --model-author-bag-keywords-entropy=N --config=FILE --embedding-delim=DELIMITER --model-author-bag-venues-entropy=N --model-author-bag-topics-weight=N --model-author-size-prior-exponent=N --model-author-bag-keywords-weight=N --embedding-dim=INT --embedding-file=FILE --model-author-bag-keywords-shift=N --model-author-bag-venues-shift=N --model-author-firstname-penalty=N --model-author-bag-coauthors-shift=N --model-author-bag-coauthors-entropy=N --model-author-bag-topics-shift=N --db-name=STRING --host=HOSTNAME --model-author-bag-middle-saturation=N --model-author-bag-middle-name-weight=N --model-author-bag-topics-entropy=N --model-author-bag-first-name-weight=N --model-author-bag-keywords-prior=N --model-author-size-prior-weight=N --model-depth-penalty=N --help=STRING --model-author-bag-coauthors-weight=N --model-author-bag-first-noname-penalty=N --port=PORT --model-author-bag-venues-prior=N --model-author-bag-venues-weight=N --version=STRING --model-author-bag-middle-noname-penalty=N --model-author-bag-coauthors-prior=N --model-author-bag-topics-prior=N
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 48.603 s
[INFO] Finished at: 2016-04-28T19:48:03-05:00
[INFO] Final Memory: 53M/1963M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.2.1:run (default-cli) on project factorie_2.11: wrap: org.apache.commons.exec.ExecuteException: Process exited with an error: 255 (Exit value: 255) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

It appears that some additional embedding files were also used for the disambiguation task. The paper mentions that LDA based features were also used for this analysis but no data regarding these is provided. 

How can I replicate the results of the paper ?
Reply all
Reply to author
Forward
0 new messages