[hive-mrc] r624 committed - Removed hardcoded stopwords path from MauiModelBuilder

0 views
Skip to first unread message

hive...@googlecode.com

unread,
May 11, 2012, 6:48:28 PM5/11/12
to hive-c...@googlegroups.com
Revision: 624
Author: craig....@unc.edu
Date: Fri May 11 15:48:17 2012
Log: Removed hardcoded stopwords path from MauiModelBuilder
http://code.google.com/p/hive-mrc/source/detail?r=624

Modified:
/trunk/hive-core/src/maui/main/MauiModelBuilder.java

=======================================
--- /trunk/hive-core/src/maui/main/MauiModelBuilder.java Fri May 11
12:01:43 2012
+++ /trunk/hive-core/src/maui/main/MauiModelBuilder.java Fri May 11
15:48:17 2012
@@ -196,9 +196,7 @@
Stemmer stemmer = new PorterStemmer();

/** Llist of stopwords to be used */
- //public Stopwords stopwords = new
StopwordsEnglish("data/stopwords/stopwords_en.txt");
- // temporary test jpb
- public Stopwords stopwords = new
StopwordsEnglish("C:/hive/hive-data/nbii/nbiiKEA/data/stopwords/stopwords_en.txt");
+ public Stopwords stopwords = null;
private Vocabulary vocabulary = null;

public void loadThesaurus(Stemmer st, Stopwords sw, String
vocabularyDirectory) {
Reply all
Reply to author
Forward
0 new messages