./target/factorie_2.11-1.2-SNAPSHOT-jar-with-dependencies.jar not found

30 views
Skip to first unread message

Dai Wei

unread,
Feb 25, 2015, 7:46:32 PM2/25/15
to dis...@factorie.cs.umass.edu
Hi,
    I git clone factorie from the repo and do

mvn package

then

bin/fac lda --read-dirs ~/Downloads/20news-18828/alt.atheism/ --num-topics 20 --num-iterations 100

but get

./target/factorie_2.11-1.2-SNAPSHOT-jar-with-dependencies.jar not found

Anything I miss?


Thanks!


Dai Wei

unread,
Feb 25, 2015, 8:33:07 PM2/25/15
to dis...@factorie.cs.umass.edu
The mvn package build succcesfully btw and passed the test (mvn test also work). 

--
--
Factorie Discuss group.
To post, email: dis...@factorie.cs.umass.edu
To unsubscribe, email: discuss+u...@factorie.cs.umass.edu

To unsubscribe from this group and stop receiving emails from it, send an email to discuss+u...@factorie.cs.umass.edu.



--
Dai Wei
Ph.D. Candidate
Machine Learning, School of Computer Science
Carnegie Mellon University

Emma Strubell

unread,
Feb 26, 2015, 10:59:31 AM2/26/15
to dis...@factorie.cs.umass.edu
Hi,

To build a jar that contains all the trained models (and thus use out-of-the-box nlp tools) you need to do: 
    mvn package -Pnlp-jar-with-dependencies

Best,

Emma

Dai Wei

unread,
Feb 26, 2015, 11:39:11 AM2/26/15
to dis...@factorie.cs.umass.edu
That works!  Thanks a lot!

Dai Wei
Reply all
Reply to author
Forward
0 new messages