Switch to unified view

a/src/rcldb/stemdb.h b/src/rcldb/stemdb.h
1
#ifndef _STEMDB_H_INCLUDED_
1
#ifndef _STEMDB_H_INCLUDED_
2
#define _STEMDB_H_INCLUDED_
2
#define _STEMDB_H_INCLUDED_
3
/* @(#$Id: stemdb.h,v 1.3 2006-12-19 12:11:21 dockes Exp $  (C) 2004 J.F.Dockes */
3
/* @(#$Id: stemdb.h,v 1.4 2007-08-01 10:04:53 dockes Exp $  (C) 2004 J.F.Dockes */
4
/// Stem database code
4
/// Stem database code
5
/// 
5
/// 
6
/// Stem databases list stems and the set of index terms they expand to. They 
6
/// Stem databases list stems and the set of index terms they expand to. They 
7
/// are computed from index data by stemming each term and regrouping those 
7
/// are computed from index data by stemming each term and regrouping those 
8
/// that stem to the same value.
8
/// that stem to the same value.
...
...
28
/// Create stem database for given language
28
/// Create stem database for given language
29
extern bool createDb(Xapian::Database& xdb, 
29
extern bool createDb(Xapian::Database& xdb, 
30
             const std::string& dbdir, const std::string& lang);
30
             const std::string& dbdir, const std::string& lang);
31
/// Expand term to stem siblings
31
/// Expand term to stem siblings
32
extern bool stemExpand(const std::string& dbdir, 
32
extern bool stemExpand(const std::string& dbdir, 
33
               const std::string& lang,
33
               const std::string& langs,
34
               const std::string& term,
34
               const std::string& term,
35
               list<string>& result);
35
               list<string>& result);
36
#ifndef NO_NAMESPACES
36
#ifndef NO_NAMESPACES
37
}
37
}
38
}
38
}