6 #ifndef _CLD_PLUGIN_HPP
7 #define _CLD_PLUGIN_HPP
9 #include <cld/compact_lang_det.h>
37 inline std::string correctLanguage(
const Language& lang) {
return (lang==::
ENGLISH || lang==::
RUSSIAN || lang==::
JAPANESE) ? LanguageCode(lang) : LanguageCode(_basis_lang_mask); }
41 std::map<Language, LanguageMask> toLang;
42 std::map<Language, Language> _adjLang;
43 std::map<SSTRING, SSTRING> toLangByString;