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"
26 * This class provides an interface to whatever thesauri we might support.
37 typedef std::map<docstring, std::vector<docstring> > Meanings;
40 * look up some text in the thesaurus
42 Meanings lookup(WordLangTuple const & wl);
43 /** check if a thesaurus for a given language \p lang is available
44 * (installed and loaded)
46 bool thesaurusAvailable(docstring const & lang) const;
47 /// check if a thesaurus for a given language \p lang is installed
48 bool thesaurusInstalled(docstring const & lang) const;
55 extern Thesaurus thesaurus;