mawiesne commented on code in PR #85:
URL: https://github.com/apache/opennlp-sandbox/pull/85#discussion_r1112192656


##########
opennlp-similarity/src/main/java/opennlp/tools/doc_classifier/ClassifierTrainingSetIndexer.java:
##########
@@ -31,18 +32,18 @@
 import org.apache.lucene.index.IndexWriterConfig;
 import org.apache.lucene.store.Directory;
 import org.apache.lucene.store.FSDirectory;
-import org.apache.lucene.util.Version;
 import org.apache.tika.Tika;
 
 public class ClassifierTrainingSetIndexer {
   
-  public static String resourceDir = new 
File(".").getAbsolutePath().replace("/.", "") + "/src/main/resources";
-  public static String INDEX_PATH = "/classif", CLASSIF_TRAINING_CORPUS_PATH = 
"/training_corpus";
-  protected ArrayList<File> queue = new ArrayList<>();
-  Tika tika = new Tika();
+  public static final String resourceDir = new 
File(".").getAbsolutePath().replace("/.", "") + "/src/main/resources";

Review Comment:
   See comment above, next round. :) 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to