further update to bot being moved to new sys machine
This commit is contained in:
parent
84396ef56c
commit
efd3a671c4
@ -118,7 +118,7 @@ public class Datahandler {
|
||||
props.setProperty("parse.model", shiftReduceParserPath);
|
||||
props.setProperty("parse.maxlen", "90");
|
||||
props.setProperty("parse.binaryTrees", "true");
|
||||
props.setProperty("threads", "25");
|
||||
props.setProperty("threads", "8");
|
||||
props.setProperty("pos.maxlen", "90");
|
||||
props.setProperty("tokenize.maxlen", "90");
|
||||
props.setProperty("ssplit.maxlen", "90");
|
||||
@ -146,7 +146,7 @@ public class Datahandler {
|
||||
propsSentiment.setProperty("parse.model", lexParserEnglishRNN);
|
||||
propsSentiment.setProperty("sentiment.model", sentimentModel);
|
||||
propsSentiment.setProperty("parse.maxlen", "90");
|
||||
propsSentiment.setProperty("threads", "25");
|
||||
propsSentiment.setProperty("threads", "8");
|
||||
propsSentiment.setProperty("pos.maxlen", "90");
|
||||
propsSentiment.setProperty("tokenize.maxlen", "90");
|
||||
propsSentiment.setProperty("ssplit.maxlen", "90");
|
||||
@ -464,7 +464,7 @@ public class Datahandler {
|
||||
double preRelationUserCounters = -155000.0;
|
||||
double zero = 0.0;
|
||||
double positive_sentence_count = 0.0;
|
||||
double positive_cap = 500.0;
|
||||
double positive_cap = 55500.0;
|
||||
List<String> concurrentRelations = new ArrayList();
|
||||
for (String str1 : values_copy) {
|
||||
if (!strF.equals(str1)) {
|
||||
@ -498,7 +498,7 @@ public class Datahandler {
|
||||
}
|
||||
|
||||
StringBuilder SB = new StringBuilder();
|
||||
double randomLenghtPermit = strF.length() * ((Math.random() * Math.random() * Math.random()) * 100);
|
||||
double randomLenghtPermit = strF.length() * ((Math.random() * Math.random() * Math.random()) * 20);
|
||||
Collections.reverse(concurrentRelations);
|
||||
if (concurrentRelations.isEmpty()) {
|
||||
return "failure, preventing stuckness";
|
||||
|
@ -54,7 +54,7 @@ public class PipelineJMWESingleton {
|
||||
public final ConcurrentMap<String, Annotation> getJMWEAnnotation(Collection<String> strvalues) {
|
||||
boolean verbose = false;
|
||||
IMWEIndex index;
|
||||
String jmweIndexData = "/home/javatests/lib/mweindex_wordnet3.0_semcor1.6.data"; // ./lib/mweindex_wordnet3.0_semcor1.6.data
|
||||
String jmweIndexData = "/home/debian/autism_bot/lib/mweindex_wordnet3.0_semcor1.6.data"; // ./lib/mweindex_wordnet3.0_semcor1.6.data
|
||||
String jmweIndexDataLocalTest = "E:/java8/Projects/mweindex_wordnet3.0_semcor1.6.data";
|
||||
File indexFile = new File((String) jmweIndexData);
|
||||
index = new MWEIndex(indexFile);
|
||||
|
Loading…
Reference in New Issue
Block a user