Git Product home page Git Product logo

asmehra95 / wiseowl Goto Github PK

View Code? Open in Web Editor NEW
25.0 25.0 9.0 1.02 MB

This is a Fact based Question Answering System using Apache Solr as backend search engine, Wikipedia dumps as information source, Apache velocity , Html, Css for Web interface Design. The project also uses Linux bash script to perform its various functions like start,stop,training,indexing.

License: MIT License

Shell 25.68% Batchfile 16.96% Java 49.53% HTML 0.82% JavaScript 6.28% CSS 0.73%

wiseowl's People

Contributors

asmehra95 avatar chrismattmann avatar sumitbanger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wiseowl's Issues

Arabic support

First, let me thank you for such great project. It really looks promising.

I see that you use StanfordCoreNLP which apparently supports Arabic. Does this mean that WiseOwl can handle Arabic Q&A? If yes, can you please let me know what is needed it to make it work for Arabic?

Thanks again!

Arguments to run indexing

I am trying to run WiseOwl on a windows server. trying to rewrite the WiseOwl script. I am not clear on what are $2 $3 $4 in this command. Also there is no main defined in com.wiseowl.WiseOwl.indexing.FeedData. How is this supposed to work?

RUN_CMD="java -cp $CLASSPATH:../target/WiseOwl-0.0.1-SNAPSHOT.jar com.wiseowl.WiseOwl.indexing.FeedData $2 $3 $4"

Thanks in advance

Error during build

I followed the instructions, but I cannot seem to be able to build wiseowl. I got the following error:

Any idea?

Thanks in advance for your support!


[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project WiseOwl: Compilation failure: Compilation failure: [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/DocumentFrequencyCounter.java:[20,27] package edu.stanford.nlp.io does not exist [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/DocumentFrequencyCounter.java:[21,27] package edu.stanford.nlp.io does not exist [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/DocumentFrequencyCounter.java:[22,29] package edu.stanford.nlp.ling does not exist [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/DocumentFrequencyCounter.java:[23,29] package edu.stanford.nlp.ling does not exist [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/DocumentFrequencyCounter.java:[24,32] package edu.stanford.nlp.process does not exist [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/DocumentFrequencyCounter.java:[25,32] package edu.stanford.nlp.process does not exist [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/DocumentFrequencyCounter.java:[26,30] package edu.stanford.nlp.stats does not exist [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/DocumentFrequencyCounter.java:[27,30] package edu.stanford.nlp.stats does not exist [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/DocumentFrequencyCounter.java:[28,38] package edu.stanford.nlp.tagger.maxent does not exist [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/DocumentFrequencyCounter.java:[29,52] package edu.stanford.nlp.trees.international.spanish does not exist [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/DocumentFrequencyCounter.java:[30,29] package edu.stanford.nlp.util does not exist [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/DocumentFrequencyCounter.java:[64,24] cannot find symbol [ERROR] symbol: class MaxentTagger [ERROR] location: class com.wiseowl.WiseOwl.summarizer.DocumentFrequencyCounter [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/DocumentFrequencyCounter.java:[73,24] cannot find symbol [ERROR] symbol: class SpanishTreebankLanguagePack [ERROR] location: class com.wiseowl.WiseOwl.summarizer.DocumentFrequencyCounter [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/DocumentFrequencyCounter.java:[74,24] cannot find symbol [ERROR] symbol: class TokenizerFactory [ERROR] location: class com.wiseowl.WiseOwl.summarizer.DocumentFrequencyCounter [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/DocumentFrequencyCounter.java:[74,51] cannot find symbol [ERROR] symbol: class HasWord [ERROR] location: class com.wiseowl.WiseOwl.summarizer.DocumentFrequencyCounter [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/DocumentFrequencyCounter.java:[82,18] cannot find symbol [ERROR] symbol: class Counter [ERROR] location: class com.wiseowl.WiseOwl.summarizer.DocumentFrequencyCounter [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/DocumentFrequencyCounter.java:[129,18] cannot find symbol [ERROR] symbol: class Counter [ERROR] location: class com.wiseowl.WiseOwl.summarizer.DocumentFrequencyCounter [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/DocumentFrequencyCounter.java:[155,65] cannot find symbol [ERROR] symbol: class Counter [ERROR] location: class com.wiseowl.WiseOwl.summarizer.DocumentFrequencyCounter [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/DocumentFrequencyCounter.java:[168,12] cannot find symbol [ERROR] symbol: class Counter [ERROR] location: class com.wiseowl.WiseOwl.summarizer.DocumentFrequencyCounter.FileIDFBuilder [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/Summarizer.java:[21,29] package edu.stanford.nlp.ling does not exist [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/Summarizer.java:[22,29] package edu.stanford.nlp.ling does not exist [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/Summarizer.java:[23,33] package edu.stanford.nlp.pipeline does not exist [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/Summarizer.java:[24,33] package edu.stanford.nlp.pipeline does not exist [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/Summarizer.java:[25,30] package edu.stanford.nlp.stats does not exist [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/Summarizer.java:[26,30] package edu.stanford.nlp.stats does not exist [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/Summarizer.java:[27,29] package edu.stanford.nlp.util does not exist [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/Summarizer.java:[41,24] cannot find symbol [ERROR] symbol: class StanfordCoreNLP [ERROR] location: class com.wiseowl.WiseOwl.summarizer.Summarizer [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/Summarizer.java:[51,17] cannot find symbol [ERROR] symbol: class Counter [ERROR] location: class com.wiseowl.WiseOwl.summarizer.Summarizer [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/Summarizer.java:[54,21] cannot find symbol [ERROR] symbol: class Counter [ERROR] location: class com.wiseowl.WiseOwl.summarizer.Summarizer [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/Summarizer.java:[59,58] cannot find symbol [ERROR] symbol: class CoreMap [ERROR] location: class com.wiseowl.WiseOwl.summarizer.Summarizer [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/Summarizer.java:[59,18] cannot find symbol [ERROR] symbol: class Counter [ERROR] location: class com.wiseowl.WiseOwl.summarizer.Summarizer [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/Summarizer.java:[112,44] cannot find symbol [ERROR] symbol: class CoreMap [ERROR] location: class com.wiseowl.WiseOwl.summarizer.Summarizer [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/Summarizer.java:[112,64] cannot find symbol [ERROR] symbol: class Counter [ERROR] location: class com.wiseowl.WiseOwl.summarizer.Summarizer [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/Summarizer.java:[112,16] cannot find symbol [ERROR] symbol: class CoreMap [ERROR] location: class com.wiseowl.WiseOwl.summarizer.Summarizer [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/Summarizer.java:[136,17] cannot find symbol [ERROR] symbol: class Counter [ERROR] location: class com.wiseowl.WiseOwl.summarizer.Summarizer [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/Summarizer.java:[69,58] cannot find symbol [ERROR] symbol: class CoreMap [ERROR] location: class com.wiseowl.WiseOwl.summarizer.Summarizer [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/Summarizer.java:[70,19] cannot find symbol [ERROR] symbol: class Counter [ERROR] location: class com.wiseowl.WiseOwl.summarizer.Summarizer.SentenceComparator [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/Summarizer.java:[72,31] cannot find symbol [ERROR] symbol: class Counter [ERROR] location: class com.wiseowl.WiseOwl.summarizer.Summarizer.SentenceComparator [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/Summarizer.java:[76,24] cannot find symbol [ERROR] symbol: class CoreMap [ERROR] location: class com.wiseowl.WiseOwl.summarizer.Summarizer.SentenceComparator [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/Summarizer.java:[76,36] cannot find symbol [ERROR] symbol: class CoreMap [ERROR] location: class com.wiseowl.WiseOwl.summarizer.Summarizer.SentenceComparator [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/Summarizer.java:[83,26] cannot find symbol [ERROR] symbol: class CoreMap [ERROR] location: class com.wiseowl.WiseOwl.summarizer.Summarizer.SentenceComparator [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/Summarizer.java:[93,33] cannot find symbol [ERROR] symbol: class CoreMap [ERROR] location: class com.wiseowl.WiseOwl.summarizer.Summarizer.SentenceComparator [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/solr/WiseOwlStanfordFilter.java:[40,45] package edu.stanford.nlp.ling.CoreAnnotations does not exist [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/solr/WiseOwlStanfordFilter.java:[41,45] package edu.stanford.nlp.ling.CoreAnnotations does not exist [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/solr/WiseOwlStanfordFilter.java:[42,45] package edu.stanford.nlp.ling.CoreAnnotations does not exist [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/solr/WiseOwlStanfordFilter.java:[43,45] package edu.stanford.nlp.ling.CoreAnnotations does not exist [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/solr/WiseOwlStanfordFilter.java:[44,1] package edu.stanford.nlp.ling.CoreAnnotations does not exist [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/solr/WiseOwlStanfordFilter.java:[45,33] package edu.stanford.nlp.pipeline does not exist [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/solr/WiseOwlStanfordFilter.java:[46,33] package edu.stanford.nlp.pipeline does not exist [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/solr/WiseOwlStanfordFilter.java:[47,29] package edu.stanford.nlp.util does not exist [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/solr/WiseOwlStanfordFilter.java:[48,1] package edu.stanford.nlp.ling does not exist [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/solr/WiseOwlStanfordFilter.java:[49,29] package edu.stanford.nlp.time does not exist [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/solr/WiseOwlStanfordFilter.java:[50,29] package edu.stanford.nlp.time does not exist [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/solr/WiseOwlStanfordFilter.java:[51,29] package edu.stanford.nlp.time does not exist [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/solr/WiseOwlStanfordFilter.java:[61,17] cannot find symbol [ERROR] symbol: class StanfordCoreNLP [ERROR] location: class com.wiseowl.WiseOwl.solr.WiseOwlStanfordFilter [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/solr/WiseOwlStanfordFilter.java:[73,53] cannot find symbol [ERROR] symbol: class StanfordCoreNLP [ERROR] location: class com.wiseowl.WiseOwl.solr.WiseOwlStanfordFilter [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/solr/WiseOwlStanfordFactory.java:[28,33] package edu.stanford.nlp.pipeline does not exist [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/solr/WiseOwlStanfordFactory.java:[29,29] package edu.stanford.nlp.time does not exist [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/solr/WiseOwlStanfordFactory.java:[32,9] cannot find symbol [ERROR] symbol: class StanfordCoreNLP [ERROR] location: class com.wiseowl.WiseOwl.solr.WiseOwlStanfordFactory [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/query/PassageRankingComponent.java:[32,30] package edu.stanford.nlp.stats does not exist [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/DocumentFrequencyCounter.java:[65,11] cannot find symbol [ERROR] symbol: class MaxentTagger [ERROR] location: class com.wiseowl.WiseOwl.summarizer.DocumentFrequencyCounter [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/DocumentFrequencyCounter.java:[73,62] cannot find symbol [ERROR] symbol: class SpanishTreebankLanguagePack [ERROR] location: class com.wiseowl.WiseOwl.summarizer.DocumentFrequencyCounter [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/DocumentFrequencyCounter.java:[87,5] cannot find symbol [ERROR] symbol: class DocumentPreprocessor [ERROR] location: class com.wiseowl.WiseOwl.summarizer.DocumentFrequencyCounter [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/DocumentFrequencyCounter.java:[87,45] cannot find symbol [ERROR] symbol: class DocumentPreprocessor [ERROR] location: class com.wiseowl.WiseOwl.summarizer.DocumentFrequencyCounter [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/DocumentFrequencyCounter.java:[90,5] cannot find symbol [ERROR] symbol: class Counter [ERROR] location: class com.wiseowl.WiseOwl.summarizer.DocumentFrequencyCounter [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/DocumentFrequencyCounter.java:[90,34] cannot find symbol [ERROR] symbol: class ClassicCounter [ERROR] location: class com.wiseowl.WiseOwl.summarizer.DocumentFrequencyCounter [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/DocumentFrequencyCounter.java:[91,15] cannot find symbol [ERROR] symbol: class HasWord [ERROR] location: class com.wiseowl.WiseOwl.summarizer.DocumentFrequencyCounter [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/DocumentFrequencyCounter.java:[95,12] cannot find symbol [ERROR] symbol: class TaggedWord [ERROR] location: class com.wiseowl.WiseOwl.summarizer.DocumentFrequencyCounter [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/DocumentFrequencyCounter.java:[97,12] cannot find symbol [ERROR] symbol: class TaggedWord [ERROR] location: class com.wiseowl.WiseOwl.summarizer.DocumentFrequencyCounter [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/DocumentFrequencyCounter.java:[132,30] cannot find symbol [ERROR] symbol: variable XMLUtils [ERROR] location: class com.wiseowl.WiseOwl.summarizer.DocumentFrequencyCounter [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/DocumentFrequencyCounter.java:[133,37] cannot find symbol [ERROR] symbol: class ReaderInputStream [ERROR] location: class com.wiseowl.WiseOwl.summarizer.DocumentFrequencyCounter [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/DocumentFrequencyCounter.java:[137,5] cannot find symbol [ERROR] symbol: class Counter [ERROR] location: class com.wiseowl.WiseOwl.summarizer.DocumentFrequencyCounter [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/DocumentFrequencyCounter.java:[137,34] cannot find symbol [ERROR] symbol: class ClassicCounter [ERROR] location: class com.wiseowl.WiseOwl.summarizer.DocumentFrequencyCounter [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/DocumentFrequencyCounter.java:[171,29] cannot find symbol [ERROR] symbol: variable IOUtils [ERROR] location: class com.wiseowl.WiseOwl.summarizer.DocumentFrequencyCounter.FileIDFBuilder [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/DocumentFrequencyCounter.java:[184,17] cannot find symbol [ERROR] symbol: class Counter [ERROR] location: class com.wiseowl.WiseOwl.summarizer.DocumentFrequencyCounter [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/DocumentFrequencyCounter.java:[184,66] cannot find symbol [ERROR] symbol: class Counter [ERROR] location: class com.wiseowl.WiseOwl.summarizer.DocumentFrequencyCounter [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/DocumentFrequencyCounter.java:[190,5] cannot find symbol [ERROR] symbol: class Counter [ERROR] location: class com.wiseowl.WiseOwl.summarizer.DocumentFrequencyCounter [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/DocumentFrequencyCounter.java:[190,35] cannot find symbol [ERROR] symbol: class ClassicCounter [ERROR] location: class com.wiseowl.WiseOwl.summarizer.DocumentFrequencyCounter [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/DocumentFrequencyCounter.java:[192,17] cannot find symbol [ERROR] symbol: class Counter [ERROR] location: class com.wiseowl.WiseOwl.summarizer.DocumentFrequencyCounter [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/DocumentFrequencyCounter.java:[195,7] cannot find symbol [ERROR] symbol: class Counter [ERROR] location: class com.wiseowl.WiseOwl.summarizer.DocumentFrequencyCounter [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/Summarizer.java:[48,20] cannot find symbol [ERROR] symbol: class StanfordCoreNLP [ERROR] location: class com.wiseowl.WiseOwl.summarizer.Summarizer [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/Summarizer.java:[60,5] cannot find symbol [ERROR] symbol: class Counter [ERROR] location: class com.wiseowl.WiseOwl.summarizer.Summarizer [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/Summarizer.java:[60,31] cannot find symbol [ERROR] symbol: class ClassicCounter [ERROR] location: class com.wiseowl.WiseOwl.summarizer.Summarizer [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/Summarizer.java:[62,10] cannot find symbol [ERROR] symbol: class CoreMap [ERROR] location: class com.wiseowl.WiseOwl.summarizer.Summarizer [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/Summarizer.java:[63,55] package CoreAnnotations does not exist [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/Summarizer.java:[63,12] cannot find symbol [ERROR] symbol: class CoreLabel [ERROR] location: class com.wiseowl.WiseOwl.summarizer.Summarizer [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/Summarizer.java:[64,50] package CoreAnnotations does not exist [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/Summarizer.java:[87,47] package CoreAnnotations does not exist [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/Summarizer.java:[95,55] package CoreAnnotations does not exist [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/Summarizer.java:[95,12] cannot find symbol [ERROR] symbol: class CoreLabel [ERROR] location: class com.wiseowl.WiseOwl.summarizer.Summarizer.SentenceComparator [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/Summarizer.java:[96,35] package CoreAnnotations does not exist [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/Summarizer.java:[97,54] package CoreAnnotations does not exist [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/Summarizer.java:[118,5] cannot find symbol [ERROR] symbol: class Annotation [ERROR] location: class com.wiseowl.WiseOwl.summarizer.Summarizer [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/Summarizer.java:[119,10] cannot find symbol [ERROR] symbol: class CoreMap [ERROR] location: class com.wiseowl.WiseOwl.summarizer.Summarizer [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/Summarizer.java:[119,61] package CoreAnnotations does not exist [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/Summarizer.java:[121,5] cannot find symbol [ERROR] symbol: class Counter [ERROR] location: class com.wiseowl.WiseOwl.summarizer.Summarizer [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/Summarizer.java:[139,13] cannot find symbol [ERROR] symbol: class Counter [ERROR] location: class com.wiseowl.WiseOwl.summarizer.Summarizer [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/summarizer/Summarizer.java:[143,5] cannot find symbol [ERROR] symbol: class Counter [ERROR] location: class com.wiseowl.WiseOwl.summarizer.Summarizer [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/solr/WiseOwlStanfordFilter.java:[84,17] cannot find symbol [ERROR] symbol: class StanfordCoreNLP [ERROR] location: class com.wiseowl.WiseOwl.solr.WiseOwlStanfordFilter [ERROR] /home/transnat/WiseOwl_HOME/wiseowl/src/main/java/com/wiseowl/WiseOwl/solr/WiseOwlStanfordFilter.java:[84,48] cannot find symbol [ERROR] symbol: class StanfordCoreNLP [ERROR] location: class com.wiseowl.WiseOwl.solr.WiseOwlStanfordFilter [ERROR] -> [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/MojoFailureException

SOLR error while starting

Hi!

I've got a problem running application.
What I've done:

  • Downloaded all neccesary models and place them to root as described in readme
  • Downloaded solr-6.3.0 and add dist,server and contrib folders to root
  • Added to pom dependency for corenlp
        <dependency>
            <groupId>edu.stanford.nlp</groupId>
            <artifactId>stanford-corenlp</artifactId>
            <version>3.9.2</version>
        </dependency>

Then I built jar using mvn clean package
But when I'm starting app using ./WiseOwl start, I got the error

Error: Could not find or load main class org.apache.solr.util.SolrCLI
Failed removing old solr logs
Error: Could not find or load main class org.apache.solr.util.SolrCLI
Failed archiving old GC logs
Error: Could not find or load main class org.apache.solr.util.SolrCLI
Failed archiving old console logs
Error: Could not find or load main class org.apache.solr.util.SolrCLI
Failed rotating old solr logs
NOTE: Please install lsof as this script needs it to determine if Solr is listening on port 8983.

Started Solr server on port 8983 (pid=). Happy searching!

And on the webpage i've got 404 error


HTTP ERROR 404
Problem accessing /solr/WiseOwl/answer. Reason:
    Not Found

PS I'm running on Win10 machine, if its important.

mvn clean package giving error

mvn clean package
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building WiseOwl 1.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ WiseOwl ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ WiseOwl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/itadmin/Desktop/wiseowl/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ WiseOwl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 31 source files to /home/itadmin/Desktop/wiseowl/target/classes
[INFO] /home/itadmin/Desktop/wiseowl/src/main/java/com/wiseowl/WiseOwl/solr/WiseOwlStanfordFilter.java: Some input files use unchecked or unsafe operations.
[INFO] /home/itadmin/Desktop/wiseowl/src/main/java/com/wiseowl/WiseOwl/solr/WiseOwlStanfordFilter.java: Recompile with -Xlint:unchecked for details.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/itadmin/Desktop/wiseowl/src/main/java/com/wiseowl/WiseOwl/solr/SentenceTokenizerFactory.java:[32,8] com.wiseowl.WiseOwl.solr.SentenceTokenizerFactory is not abstract and does not override abstract method create(org.apache.lucene.util.AttributeFactory,java.io.Reader) in org.apache.lucene.analysis.util.TokenizerFactory
[ERROR] /home/itadmin/Desktop/wiseowl/src/main/java/com/wiseowl/WiseOwl/solr/SentenceTokenizerFactory.java:[47,3] method does not override or implement a method from a supertype
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.981 s
[INFO] Finished at: 2020-02-24T16:05:22+05:30
[INFO] Final Memory: 40M/389M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project WiseOwl: Compilation failure: Compilation failure:
[ERROR] /home/itadmin/Desktop/wiseowl/src/main/java/com/wiseowl/WiseOwl/solr/SentenceTokenizerFactory.java:[32,8] com.wiseowl.WiseOwl.solr.SentenceTokenizerFactory is not abstract and does not override abstract method create(org.apache.lucene.util.AttributeFactory,java.io.Reader) in org.apache.lucene.analysis.util.TokenizerFactory
[ERROR] /home/itadmin/Desktop/wiseowl/src/main/java/com/wiseowl/WiseOwl/solr/SentenceTokenizerFactory.java:[47,3] method does not override or implement a method from a supertype
[ERROR] -> [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/MojoFailureException

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.