Skip to content
This repository
Browse code

Change config name 'stemmer' to 'enable_stemmer'

  • Loading branch information...
commit ad128ec606d7b892dd90df935b14a2414fd02754 1 parent 638e5e9
Malthe Jørgensen authored April 19, 2012
4  conf.example.php
@@ -52,8 +52,8 @@
52 52
   $tagger_conf['db']['disambiguation_table'] = 'tagger_disambiguation';
53 53
   $tagger_conf['db']['unmatched_table'] = 'tagger_unmatched';
54 54
 
55  
-  $stemmer_postfix = ($tagger_conf['keyword']['stemmer'])? '_stem' : '';
  55
+  $stemmer_postfix = ($tagger_conf['keyword']['enable_stemmer'])? '_stem' : '';
56 56
 
57 57
   $tagger_conf['db']['docstats_table'] = 'tagger_docstats';
58 58
   $tagger_conf['db']['wordstats_table'] = 'tagger_wordstats' . $stemmer_postfix;
59  
-  $tagger_conf['db']['word_relations_table'] = 'tagger_word_relations_' . $tagger_conf['keyword']['property'] . $stemmer_postfix;
  59
+  $tagger_conf['db']['word_relations_table'] = 'tagger_word_relations_' . $tagger_conf['keyword']['property'] . $stemmer_postfix;
4  defaults.php
@@ -45,7 +45,7 @@
45 45
   // processed
46 46
   $tagger_conf['keyword']['minimum_number_of_texts'] = 15;
47 47
   $tagger_conf['keyword']['property'] = 'diff_outer_doc_freq';
48  
-  $tagger_conf['keyword']['stemmer'] = FALSE;
  48
+  $tagger_conf['keyword']['enable_stemmer'] = FALSE;
49 49
   $tagger_conf['keyword']['normalize'] = FALSE;
50 50
   // For a text be given 100% score it must have the equivalent of
51 51
   // one full keyword per 100 words
@@ -105,7 +105,7 @@
105 105
   $tagger_conf['db']['disambiguation_table'] = 'tagger_disambiguation';
106 106
   $tagger_conf['db']['unmatched_table'] = 'tagger_unmatched';
107 107
 
108  
-  $stemmer_postfix = ($tagger_conf['keyword']['stemmer'])? '_stem' : '';
  108
+  $stemmer_postfix = ($tagger_conf['keyword']['enable_stemmer'])? '_stem' : '';
109 109
 
110 110
   $tagger_conf['db']['docstats_table'] = 'tagger_docstats';
111 111
   $tagger_conf['db']['wordstats_table'] = 'tagger_wordstats' . $stemmer_postfix;

0 notes on commit ad128ec

Please sign in to comment.
Something went wrong with that request. Please try again.