Child: [6cfe82] (diff)

Download this file

plaintorich.h    19 lines (15 with data), 553 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
#ifndef _PLAINTORICH_H_INCLUDED_
#define _PLAINTORICH_H_INCLUDED_
/* @(#$Id: plaintorich.h,v 1.1 2005-09-22 16:22:34 dockes Exp $ (C) 2004 J.F.Dockes */
#include <string>
/**
* Fix result text for display inside the gui text window.
*
* @param in raw text out of internfile.
* @param terms list of query terms
* @param termoffsets character offsets where we find terms
*/
extern string plaintorich(const string &in,
const list<string>& terms,
list<pair<int, int> >&termoffsets);
#endif /* _PLAINTORICH_H_INCLUDED_ */