⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 suggest.hpp

📁 unix/linux下拼写检查程序源码
💻 HPP
字号:
// Copyright 2000 by Kevin Atkinson under the terms of the LGPL#include "word_list.hpp"#include "enumeration.hpp"#include "parm_string.hpp"using namespace acommon;namespace aspeller {  class SpellerImpl;  class SuggestionList : public WordList {  public:    typedef StringEnumeration            VirEmul;    typedef Enumeration<VirEmul>         Emul;    typedef const char *               Value;    typedef unsigned int               Size;    virtual SuggestionList * clone() const = 0;    virtual void assign(const SuggestionList *) = 0;        virtual bool empty() const = 0;    virtual Size size() const = 0;    virtual VirEmul * elements() const = 0;    virtual ~SuggestionList() {}  };  class Suggest {  public:    virtual PosibErr<void> set_mode(ParmString) = 0;    virtual double score(const char * base, const char * other) = 0;    virtual SuggestionList & suggest(const char * word) = 0;    virtual ~Suggest() {}  };    Suggest * new_default_suggest(SpellerImpl *);}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -