Files
privacore-open-source-searc…/LanguageIdentifier.h
2016-03-08 22:16:02 +01:00

20 lines
528 B
C++

/// @brief Language detection utility routines.
///
/// Contains the main utility function, guessLanguage(), and all
/// the support routines for detecting the language of a web page.
///
// using a different macro because there's already a Language.h
#ifndef GB_LANGUAGEIDENTIFIER_H
#define GB_LANGUAGEIDENTIFIER_H
#include <stdint.h>
/// Contains methods of language identification by various means.
class LanguageIdentifier {
public:
static uint8_t guessCountryTLD(const char *url);
};
#endif // GB_LANGUAGEIDENTIFIER_H