chromium/third_party/cld_3/src/src/feature_extractor.cc

/* Copyright 2016 Google Inc. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
==============================================================================*/

#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 {}

}  // namespace chrome_lang_id