open-source-search-engine/Abbreviations.h

17 lines
427 B
C
Raw Normal View History

2013-08-03 00:12:24 +04:00
// Matt Wells, copyright Jul 2001
// i guess _ABBREVIATIONS_H_ is reserved, so prepend _GB
#ifndef _GB_ABBREVIATIONS_H_
#define _GB_ABBREVIATIONS_H_
2013-08-03 00:12:24 +04:00
#include "Unicode.h"
// . is the word with this word id an abbreviation?
// . word id is just the hash64() of the word
2014-10-30 22:36:39 +03:00
bool isAbbr ( int64_t wid , bool *hasWordAfter = NULL ) ;
2013-08-03 00:12:24 +04:00
// to free the table's memory, Process::reset() will call this
void resetAbbrTable ( ) ;
#endif