mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-26 13:23:25 +03:00
make InitDictionary() an abstract method, at Uli's suggestion. Make sure people implements it
This commit is contained in:
parent
a635518346
commit
3e7f412ae9
@ -82,8 +82,7 @@ public:
|
||||
const ChartCellCollectionBase &) = 0;
|
||||
|
||||
//Initialises the dictionary (may involve loading from file)
|
||||
virtual bool InitDictionary()
|
||||
{ return true; }
|
||||
virtual bool InitDictionary() = 0;
|
||||
|
||||
//Get the dictionary. Be sure to initialise it first.
|
||||
const PhraseDictionary* GetDictionary() const;
|
||||
|
Loading…
Reference in New Issue
Block a user