1 // 2 // Exact.h 3 // 4 // Exact: The exact-match "fuzzy" matching. Simply returns the word (minus punctuation) 5 // 6 // Part of the ht://Dig package <http://www.htdig.org/> 7 // Copyright (c) 1995-2004 The ht://Dig Group 8 // For copyright details, see the file COPYING in your distribution 9 // or the GNU Library General Public License (LGPL) version 2 or later 10 // <http://www.gnu.org/copyleft/lgpl.html> 11 // 12 // $Id: Exact.h,v 1.7 2004/05/28 13:15:20 lha Exp $ 13 // 14 15 #ifndef _Exact_h_ 16 #define _Exact_h_ 17 18 #include "Fuzzy.h" 19 20 class Dictionary; 21 class String; 22 class List; 23 24 25 class Exact : public Fuzzy 26 { 27 public: 28 // 29 // Construction/Destruction 30 // 31 Exact(const HtConfiguration& config_arg); 32 virtual ~Exact(); 33 34 virtual void getWords(char *word, List &words); 35 virtual int openIndex(); 36 37 virtual void generateKey(char *, String &); 38 virtual void addWord(char *); 39 40 private: 41 }; 42 43 #endif 44 45 46