mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2025-01-05 02:22:21 +03:00
integrate binary lexicalised reordering model
This commit is contained in:
parent
a2454cdd55
commit
6e52eeddeb
@ -9,6 +9,7 @@
|
||||
#include "../System.h"
|
||||
#include "../Search/Manager.h"
|
||||
#include "../legacy/InputFileStream.h"
|
||||
#include "../legacy/Util2.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
@ -59,6 +60,11 @@ LexicalReordering::~LexicalReordering()
|
||||
|
||||
void LexicalReordering::Load(System &system)
|
||||
{
|
||||
if (FileExists(m_path + ".binlexr.idx") ) {
|
||||
//ret = new LexicalReorderingTableTree(filePath, f_factors,
|
||||
// e_factors, c_factors);
|
||||
}
|
||||
|
||||
InputFileStream file(m_path);
|
||||
string line;
|
||||
size_t lineNum = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user