mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 19:27:11 +03:00
refactor generation dictionary class
This commit is contained in:
parent
50dfeb9374
commit
2525ddc83f
@ -50,11 +50,6 @@ GenerationDictionary::GenerationDictionary(const std::string &line)
|
||||
|
||||
}
|
||||
|
||||
GenerationDictionary::GenerationDictionary(size_t numFeatures,
|
||||
const std::vector<FactorType> &input,
|
||||
const std::vector<FactorType> &output)
|
||||
: Dictionary(numFeatures), DecodeFeature("Generation",numFeatures,input,output) {}
|
||||
|
||||
bool GenerationDictionary::Load(const std::string &filePath, FactorDirection direction)
|
||||
{
|
||||
FactorCollection &factorCollection = FactorCollection::Instance();
|
||||
|
@ -54,13 +54,6 @@ protected:
|
||||
|
||||
public:
|
||||
GenerationDictionary(const std::string &line);
|
||||
/** constructor.
|
||||
* \param numFeatures number of score components, as specified in ini file
|
||||
*/
|
||||
GenerationDictionary(
|
||||
size_t numFeatures,
|
||||
const std::vector<FactorType> &input,
|
||||
const std::vector<FactorType> &output);
|
||||
virtual ~GenerationDictionary();
|
||||
|
||||
// returns Generate
|
||||
|
Loading…
Reference in New Issue
Block a user