Commit 7ebba67e authored by Dorinela Dascalu's avatar Dorinela Dascalu 🌺

Resolved conflicts. Added rosuda.JRI dependency.

parent 46434d1a
......@@ -130,6 +130,7 @@
<weka.version>3.9.1</weka.version>
<weka.multiLayerPerceptrons.version>1.0.10</weka.multiLayerPerceptrons.version>
<gephi.version>0.9.2</gephi.version>
<rosuda.JRI.version>0.8</rosuda.JRI.version>
<apache.poi.version>3.15</apache.poi.version>
<apache.pdfbox.vesion>2.0.4</apache.pdfbox.vesion>
......@@ -594,5 +595,11 @@
<version>3.1</version>
<classifier>with-dependencies</classifier>
</dependency>
<dependency>
<groupId>com.readerbench</groupId>
<artifactId>rosuda.JRI</artifactId>
<version>${rosuda.JRI.version}</version>
</dependency>
</dependencies>
</project>
......@@ -130,6 +130,9 @@ import webService.services.cscl.CSCL;
import webService.services.cscl.result.QueryResultAllCommunities;
import webService.services.cscl.result.QueryResultParticipants;
import webService.services.cscl.result.QueryResultParticipantsInteraction;
import webService.services.essayFeedback.EFResult;
import webService.services.essayFeedback.EssayAnalysis;
import webService.services.essayFeedback.QueryResultEF;
import webService.services.lak.TopicEvolutionBuilder;
import webService.services.lak.TwoModeGraphBuilder;
import webService.services.lak.TwoModeGraphFilter;
......@@ -2141,7 +2144,7 @@ public class ReaderBenchServer {
String text = hm.get("text");
AbstractDocument document = QueryHelper.generateDocument(text, Lang.en, models, true, true);
AbstractDocument document = QueryHelper.generateDocument(text, Lang.en, models, true, true, false);
EFResult efResult = essayAnalysis.analyzeDocument(document);
QueryResultEF queryResultEF = new QueryResultEF(efResult);
System.out.println("Sending " + queryResultEF.convertToJson());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment