open-source-search-engine/Abbreviations.h

17 lines
429 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
bool isAbbr ( long long wid , bool *hasWordAfter = NULL ) ;
// to free the table's memory, Process::reset() will call this
void resetAbbrTable ( ) ;
#endif