4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
8 * \author Jürgen Spitzmüller
10 * Full author contact details are available in file CREDITS.
16 #include "support/docstring.h"
17 #include "WordLangTuple.h"
25 * This class provides an interface to whatever thesauri we might support.
31 Thesaurus(Thesaurus const &);
32 void operator=(Thesaurus const &);
39 typedef std::map<docstring, std::vector<docstring> > Meanings;
42 * look up some text in the thesaurus
44 Meanings lookup(WordLangTuple const & wl);
45 /** check if a thesaurus for a given language \p lang is available
46 * (installed and loaded)
48 bool thesaurusAvailable(docstring const & lang) const;
49 /// check if a thesaurus for a given language \p lang is installed
50 bool thesaurusInstalled(docstring const & lang) const;
57 extern Thesaurus thesaurus;