#include "feature_extractor.h"
#include <string>
#include "feature_types.h"
#include "fml_parser.h"
#include "utils.h"
namespace chrome_lang_id {
constexpr FeatureValue GenericFeatureFunction::kNone;
FeatureVector::FeatureVector() { … }
FeatureVector::~FeatureVector() { … }
GenericFeatureExtractor::GenericFeatureExtractor() { … }
GenericFeatureExtractor::~GenericFeatureExtractor() { … }
GenericFeatureExtractor::GenericFeatureExtractor(
const GenericFeatureExtractor &extractor)
: … { … }
void GenericFeatureExtractor::Parse(const string &source) { … }
void GenericFeatureExtractor::InitializeFeatureTypes() { … }
void GenericFeatureExtractor::GetFeatureTypeNames(
std::vector<string> *type_names) const { … }
FeatureValue GenericFeatureExtractor::GetDomainSize() const { … }
string GenericFeatureFunction::GetParameter(const string &name) const { … }
GenericFeatureFunction::GenericFeatureFunction() { … }
GenericFeatureFunction::~GenericFeatureFunction() { … }
int GenericFeatureFunction::GetIntParameter(const string &name,
int default_value) const { … }
bool GenericFeatureFunction::GetBoolParameter(const string &name,
bool default_value) const { … }
void GenericFeatureFunction::GetFeatureTypes(
std::vector<FeatureType *> *types) const { … }
FeatureType *GenericFeatureFunction::GetFeatureType() const { … }
}