|
a/src/qtgui/plaintorich.cpp |
|
b/src/qtgui/plaintorich.cpp |
1 |
#ifndef lint
|
1 |
#ifndef lint
|
2 |
static char rcsid[] = "@(#$Id: plaintorich.cpp,v 1.3 2005-10-19 10:21:48 dockes Exp $ (C) 2005 J.F.Dockes";
|
2 |
static char rcsid[] = "@(#$Id: plaintorich.cpp,v 1.4 2005-10-20 08:34:51 dockes Exp $ (C) 2005 J.F.Dockes";
|
3 |
#endif
|
3 |
#endif
|
4 |
|
4 |
|
5 |
|
5 |
|
6 |
#include <string>
|
6 |
#include <string>
|
7 |
#include <utility>
|
7 |
#include <utility>
|
|
... |
|
... |
28 |
myTextSplitCB(const list<string>& terms)
|
28 |
myTextSplitCB(const list<string>& terms)
|
29 |
: terms(&terms) {
|
29 |
: terms(&terms) {
|
30 |
}
|
30 |
}
|
31 |
|
31 |
|
32 |
// Callback called by the text-to-words breaker for each word
|
32 |
// Callback called by the text-to-words breaker for each word
|
33 |
virtual bool takeword(const std::string& term, int pos, int bts, int bte) {
|
33 |
virtual bool takeword(const std::string& term, int, int bts, int bte) {
|
34 |
string dumb;
|
34 |
string dumb;
|
35 |
Rcl::dumb_string(term, dumb);
|
35 |
Rcl::dumb_string(term, dumb);
|
36 |
//LOGDEB(("Input dumbbed term: '%s' %d %d %d\n", dumb.c_str(),
|
36 |
//LOGDEB(("Input dumbbed term: '%s' %d %d %d\n", dumb.c_str(),
|
37 |
// pos, bts, bte));
|
37 |
// pos, bts, bte));
|
38 |
for (list<string>::const_iterator it = terms->begin();
|
38 |
for (list<string>::const_iterator it = terms->begin();
|