Welcome to mirror list, hosted at ThFree Co, Russian Federation.

OOVHandlingOptions.h « parameters « moses2 « contrib - github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d11284220b771c11991437627342bc4d2ab9cd0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// -*- mode: c++; indent-tabs-mode: nil; tab-width: 2 -*-
#pragma once
#include <string>
#include <string>
#include "OptionsBaseClass.h"

namespace Moses2
{
  struct 
  OOVHandlingOptions : public OptionsBaseClass
  {
    bool drop;
    bool mark;
    std::string prefix;
    std::string suffix;
    
    bool word_deletion_enabled;
    bool always_create_direct_transopt;
    OOVHandlingOptions();

    bool init(Parameter const& param);
    bool update(std::map<std::string,xmlrpc_c::value>const& param);

  };

}