diff options
author | Wu, Ke <wuke@cs.umd.edu> | 2014-12-17 16:00:04 -0500 |
---|---|---|
committer | Wu, Ke <wuke@cs.umd.edu> | 2014-12-17 16:00:04 -0500 |
commit | b6dd5a683db9dda2d634dd2fdb76606819594901 (patch) | |
tree | 6d81454a2491b444a190262e62dae960ef13ebaa /training/const_reorder | |
parent | 62249e8de1be27057649aa787b715af5727f8a7c (diff) |
Combine everything related to maxent to a single file
Diffstat (limited to 'training/const_reorder')
-rw-r--r-- | training/const_reorder/trainer.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/training/const_reorder/trainer.cc b/training/const_reorder/trainer.cc index e22a8a66..89bd7479 100644 --- a/training/const_reorder/trainer.cc +++ b/training/const_reorder/trainer.cc @@ -10,7 +10,7 @@ void Tsuruoka_Maxent_Trainer::fnTrain(const char* pszInstanceFName, strcmp(pszAlgorithm, "sgd") == 0 || strcmp(pszAlgorithm, "SGD") == 0); FILE* fpIn = fopen(pszInstanceFName, "r"); - ME_Model* pModel = new ME_Model(); + maxent::ME_Model* pModel = new maxent::ME_Model(); char* pszLine = new char[100001]; int iNumInstances = 0; @@ -30,7 +30,7 @@ void Tsuruoka_Maxent_Trainer::fnTrain(const char* pszInstanceFName, iNumInstances++; - ME_Sample* pmes = new ME_Sample(); + maxent::ME_Sample* pmes = new maxent::ME_Sample(); char* p = strrchr(pszLine, ' '); assert(p != NULL); |