Error issue in using AdArte

14 views
Skip to first unread message

Fawei Biralatei James

unread,
Aug 4, 2015, 10:02:44 AM8/4/15
to eop-users
Hello Roberto,

Thanks for the previous information.

I also tried the AdArte algorithm with the step-by-step tutorial by changing the configuration file used in the model "File configFile = new File("/home/fawei/eop-resources-1.2.3/configuration-files/AdArteEDA/AdArte_EN.xml");" to use the AdArte with the corpus I developed. The essence is to compare results from the algorithms but I am encountering an error. See error information below:

Error Information:
Failed to init the EDA: Initialization error:/tmp/RandomForest.model (No such file or directory)

Attached herewith the complete code.


Kind regards
Fawei




 

AdArte.odt

Roberto Ferrari

unread,
Aug 5, 2015, 4:09:09 AM8/5/15
to eop-...@googlegroups.com
Hello,

Different EDAs could require  different preprocessing. AdArte needs the dependency trees produced by MaltParser (if you can take a look at its configuration file you should see that MaltParser is used for preprocessing) and that OpenNLP can't produce. So, in your code,  you have to import MaltParser instead of OpenNLP and analyze the data set by using it.

Best,
Roberto


--
You received this message because you are subscribed to the Google Groups "eop-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eop-users+...@googlegroups.com.
To post to this group, send email to eop-...@googlegroups.com.
Visit this group at http://groups.google.com/group/eop-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/eop-users/c3bfa9f9-dff8-431a-9d4a-7e68a6b46019%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages