Change Namespace in TER library

This commit is contained in:
Christophe SERVAN 2015-02-16 19:34:41 +01:00
parent 87a4f19546
commit d0ff70decc
25 changed files with 35 additions and 35 deletions

View File

@ -21,7 +21,7 @@ Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#include "alignmentStruct.h" #include "alignmentStruct.h"
using namespace std; using namespace std;
namespace TERCpp namespace TERCPPNS_TERCpp
{ {
string alignmentStruct::toString() string alignmentStruct::toString()
{ {

View File

@ -30,9 +30,9 @@ Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
using namespace std; using namespace std;
using namespace Tools; using namespace TERCPPNS_Tools;
namespace TERCpp namespace TERCPPNS_TERCpp
{ {
class alignmentStruct class alignmentStruct
{ {

View File

@ -22,7 +22,7 @@ Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
using namespace std; using namespace std;
namespace TERCpp namespace TERCPPNS_TERCpp
{ {
bestShiftStruct::bestShiftStruct() bestShiftStruct::bestShiftStruct()
{ {

View File

@ -32,9 +32,9 @@ Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
using namespace std; using namespace std;
using namespace Tools; using namespace TERCPPNS_Tools;
namespace TERCpp namespace TERCPPNS_TERCpp
{ {
class bestShiftStruct class bestShiftStruct
{ {

View File

@ -25,7 +25,7 @@ Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
using namespace std; using namespace std;
namespace HashMapSpace namespace TERCPPNS_HashMapSpace
{ {
// hashMap::hashMap(); // hashMap::hashMap();
/* hashMap::~hashMap() /* hashMap::~hashMap()

View File

@ -33,7 +33,7 @@ Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
using namespace std; using namespace std;
namespace HashMapSpace namespace TERCPPNS_HashMapSpace
{ {
class hashMap class hashMap
{ {

View File

@ -25,7 +25,7 @@ Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
using namespace std; using namespace std;
namespace HashMapSpace namespace TERCPPNS_HashMapSpace
{ {
// hashMapInfos::hashMap(); // hashMapInfos::hashMap();
/* hashMapInfos::~hashMap() /* hashMapInfos::~hashMap()

View File

@ -32,7 +32,7 @@ Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
using namespace std; using namespace std;
namespace HashMapSpace namespace TERCPPNS_HashMapSpace
{ {
class hashMapInfos class hashMapInfos
{ {

View File

@ -25,7 +25,7 @@ Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
using namespace std; using namespace std;
namespace HashMapSpace namespace TERCPPNS_HashMapSpace
{ {
// hashMapStringInfos::hashMap(); // hashMapStringInfos::hashMap();
/* hashMapStringInfos::~hashMap() /* hashMapStringInfos::~hashMap()

View File

@ -32,7 +32,7 @@ Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
using namespace std; using namespace std;
namespace HashMapSpace namespace TERCPPNS_HashMapSpace
{ {
class hashMapStringInfos class hashMapStringInfos
{ {

View File

@ -23,9 +23,9 @@ Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
using namespace std; using namespace std;
using namespace Tools; using namespace TERCPPNS_Tools;
namespace HashMapSpace namespace TERCPPNS_HashMapSpace
{ {
infosHasher::infosHasher (long cle,string cleTxt, vector<int> valueVecInt ) infosHasher::infosHasher (long cle,string cleTxt, vector<int> valueVecInt )
{ {

View File

@ -29,7 +29,7 @@ Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#include "tools.h" #include "tools.h"
using namespace std; using namespace std;
namespace HashMapSpace namespace TERCPPNS_HashMapSpace
{ {
class infosHasher class infosHasher
{ {

View File

@ -24,7 +24,7 @@ Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
using namespace std; using namespace std;
namespace HashMapSpace namespace TERCPPNS_HashMapSpace
{ {
stringHasher::stringHasher ( long cle, string cleTxt, string valueTxt ) stringHasher::stringHasher ( long cle, string cleTxt, string valueTxt )
{ {

View File

@ -25,7 +25,7 @@ Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#include <iostream> #include <iostream>
using namespace std; using namespace std;
namespace HashMapSpace namespace TERCPPNS_HashMapSpace
{ {
class stringHasher class stringHasher

View File

@ -23,9 +23,9 @@ Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
using namespace std; using namespace std;
using namespace Tools; using namespace TERCPPNS_Tools;
namespace HashMapSpace namespace TERCPPNS_HashMapSpace
{ {
stringInfosHasher::stringInfosHasher ( long cle, string cleTxt, vector<string> valueVecInt ) stringInfosHasher::stringInfosHasher ( long cle, string cleTxt, vector<string> valueVecInt )
{ {

View File

@ -27,7 +27,7 @@ Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#include "tools.h" #include "tools.h"
using namespace std; using namespace std;
namespace HashMapSpace namespace TERCPPNS_HashMapSpace
{ {
class stringInfosHasher class stringInfosHasher
{ {

View File

@ -21,7 +21,7 @@ Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#include "terAlignment.h" #include "terAlignment.h"
using namespace std; using namespace std;
namespace TERCpp namespace TERCPPNS_TERCpp
{ {
terAlignment::terAlignment() terAlignment::terAlignment()

View File

@ -30,8 +30,8 @@ Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
using namespace std; using namespace std;
// using namespace HashMapSpace; // using namespace TERCPPNS_HashMapSpace;
namespace TERCpp namespace TERCPPNS_TERCpp
{ {
class terAlignment class terAlignment

View File

@ -21,7 +21,7 @@ Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#include "terShift.h" #include "terShift.h"
using namespace std; using namespace std;
namespace TERCpp namespace TERCPPNS_TERCpp
{ {
// terShift::terShift() // terShift::terShift()

View File

@ -30,9 +30,9 @@ Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
using namespace std; using namespace std;
using namespace Tools; using namespace TERCPPNS_Tools;
namespace TERCpp namespace TERCPPNS_TERCpp
{ {
class terShift class terShift
{ {

View File

@ -31,8 +31,8 @@ Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
// //
#include "tercalc.h" #include "tercalc.h"
using namespace std; using namespace std;
using namespace Tools; using namespace TERCPPNS_Tools;
namespace TERCpp namespace TERCPPNS_TERCpp
{ {
terCalc::terCalc() terCalc::terCalc()

View File

@ -35,9 +35,9 @@ Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#include "bestShiftStruct.h" #include "bestShiftStruct.h"
using namespace std; using namespace std;
using namespace Tools; using namespace TERCPPNS_Tools;
using namespace HashMapSpace; using namespace TERCPPNS_HashMapSpace;
namespace TERCpp namespace TERCPPNS_TERCpp
{ {
// typedef size_t WERelement[2]; // typedef size_t WERelement[2];
// Vecteur d'alignement contenant le hash du mot et son evaluation (0=ok, 1=sub, 2=ins, 3=del) // Vecteur d'alignement contenant le hash du mot et son evaluation (0=ok, 1=sub, 2=ins, 3=del)

View File

@ -21,8 +21,8 @@ Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#include "tools.h" #include "tools.h"
using namespace std; using namespace std;
using namespace boost::xpressive; using namespace TERCPPNS_boost::xpressive;
namespace Tools namespace TERCPPNS_Tools
{ {
string vectorToString ( vector<string> vec ) string vectorToString ( vector<string> vec )

View File

@ -33,7 +33,7 @@ Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
using namespace std; using namespace std;
namespace Tools namespace TERCPPNS_Tools
{ {
typedef vector<double> vecDouble; typedef vector<double> vecDouble;
typedef vector<char> vecChar; typedef vector<char> vecChar;

View File

@ -10,7 +10,7 @@
#include "Util.h" #include "Util.h"
using namespace std; using namespace std;
using namespace TERCpp; using namespace TERCPPNS_TERCpp;
namespace MosesTuning namespace MosesTuning
{ {