Last change
on this file since 22798 was 22798, checked in by mdewsnip, 14 years ago |
Added new summarise.h with a null implementation of summarise() that just returns the input, so gs2-core compiles (we don't use this function, and we can't use the normal Greenstone summarise.cpp and summarise.h for licensing purposes).
|
File size:
466 bytes
|
Line | |
---|
1 | /**********************************************************************
|
---|
2 | *
|
---|
3 | * summarise.h --
|
---|
4 | *
|
---|
5 | * By Michael Dewsnip
|
---|
6 | *
|
---|
7 | * Copyright (C) 2010 DL Consulting Ltd.
|
---|
8 | *
|
---|
9 | *********************************************************************/
|
---|
10 |
|
---|
11 |
|
---|
12 | #ifndef SUMMARISE_H
|
---|
13 | #define SUMMARISE_H
|
---|
14 |
|
---|
15 | #include "text_t.h"
|
---|
16 |
|
---|
17 |
|
---|
18 | // Null implementation of summarise() that just returns the input
|
---|
19 | text_t summarise(text_t &htmlstr, text_t &query, int summaryLength) { return htmlstr; }
|
---|
20 |
|
---|
21 |
|
---|
22 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.