Switch to unified view

a/src/rcldb/stemdb.cpp b/src/rcldb/stemdb.cpp
...
...
61
    SynTermTransStem stemmer(*it);
61
    SynTermTransStem stemmer(*it);
62
    XapComputableSynFamMember expander(getdb(), synFamStem, *it, &stemmer);
62
    XapComputableSynFamMember expander(getdb(), synFamStem, *it, &stemmer);
63
    (void)expander.synExpand(term, result);
63
    (void)expander.synExpand(term, result);
64
    }
64
    }
65
65
66
#ifndef RCL_INDEX_STRIPCHARS
67
    if (!o_index_stripchars) {
66
    if (!o_index_stripchars) {
68
    string unac;
67
    string unac;
69
    unacmaybefold(term, unac, "UTF-8", UNACOP_UNAC);
68
    unacmaybefold(term, unac, "UTF-8", UNACOP_UNAC);
70
    // Expand the unaccented stem, using the unaccented stem
69
    // Expand the unaccented stem, using the unaccented stem
71
    // db. Because it's a different db, We need to do it even if
70
    // db. Because it's a different db, We need to do it even if
...
...
76
        XapComputableSynFamMember expander(getdb(), synFamStemUnac, 
75
        XapComputableSynFamMember expander(getdb(), synFamStemUnac, 
77
                           *it, &stemmer);
76
                           *it, &stemmer);
78
        (void)expander.synExpand(unac, result);
77
        (void)expander.synExpand(unac, result);
79
    }
78
    }
80
    }
79
    }
81
#endif 
82
80
83
    if (result.empty())
81
    if (result.empty())
84
    result.push_back(term);
82
    result.push_back(term);
85
83
86
    sort(result.begin(), result.end());
84
    sort(result.begin(), result.end());