Re: problem when running mauiTopicExtractor through terminal

38 views
Skip to first unread message

Richard Cyganiak

unread,
Nov 9, 2016, 5:24:35 PM11/9/16
to kea-and-ma...@googlegroups.com
Try changing the -s parameter to just StopwordsEnglish instead of maui.stopwords.StopwordsEnglish. You may have to do the same for PorterStemmer.

Hope that helps,
Richard


On 9 Nov 2016, at 21:44, Thiago Henrique Martinelli <thiago.henriq...@gmail.com> wrote:

I'm trying to comple maui through a terminal on ubuntu 14.04. 
All steps were fine, except the last one (running mauiTopicExtractor).

I used the following command.

java -cp "lib/*:src" maui.main.MauiTopicExtractor -l data/automatic_tagging/test/ -m test -v none Extracting keyphrases with options: -l data/automatic_tagging/test/ -m test -v none -f null -e default -i en -n 10 -t maui.stemmers.PorterStemmer -s maui.stopwords.StopwordsEnglish 

and it gives me the following error:


java.lang.ClassNotFoundException: maui.stopwords.maui.stopwords.StopwordsEnglish
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:195)
at maui.main.MauiTopicExtractor.setOptions(MauiTopicExtractor.java:288)
at maui.main.MauiTopicExtractor.main(MauiTopicExtractor.java:832)
maui.stopwords.maui.stopwords.StopwordsEnglish



Can someone help me? 

--
You received this message because you are subscribed to the Google Groups "Kea and Maui Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kea-and-maui-sup...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Thiago Henrique Martinelli

unread,
Nov 10, 2016, 10:40:29 AM11/10/16
to Kea and Maui Support
Richard, thanks for the help.
I had already solved this.
In the website from where i copied this command, there are two different sentences in the same line.

So the command i used (wrong) was:

java -cp "lib/*:src" maui.main.MauiTopicExtractor -l data/automatic_tagging/test/ -m test -v none Extracting keyphrases with options: -l data/automatic_tagging/test/ -m test -v none -f null -e default -i en -n 10 -t maui.stemmers.PorterStemmer -s maui.stopwords.StopwordsEnglish 

And the right code was only:

java -cp "lib/*:src" maui.main.MauiTopicExtractor -l data/automatic_tagging/test/ -m test -v none

The rest of this frase was the terminal response tha was by mistake in the same line.

Thanks. 
 
To unsubscribe from this group and stop receiving emails from it, send an email to kea-and-maui-support+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages