Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/irstlm
diff options
context:
space:
mode:
authorhieuhoang1972 <hieuhoang1972@1f5c12ca-751b-0410-a591-d2e778427230>2006-08-11 05:46:01 +0400
committerhieuhoang1972 <hieuhoang1972@1f5c12ca-751b-0410-a591-d2e778427230>2006-08-11 05:46:01 +0400
commite5d9b7c17fe743dc3f0f75896f47810b331fc2e1 (patch)
tree7336b28356ec8be9f3003e809c795488dec2b32b /irstlm
parent6803962488e8fcc5aff87c7e1bc7b9743f739c56 (diff)
visual studio issues
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@636 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'irstlm')
-rw-r--r--irstlm/irstlm.vcproj12
-rw-r--r--irstlm/src/lmtable.cpp3
-rw-r--r--irstlm/src/ngramcache.cpp4
3 files changed, 13 insertions, 6 deletions
diff --git a/irstlm/irstlm.vcproj b/irstlm/irstlm.vcproj
index 687c036eb..23599644e 100644
--- a/irstlm/irstlm.vcproj
+++ b/irstlm/irstlm.vcproj
@@ -197,7 +197,11 @@
>
</File>
<File
- RelativePath=".\src\ngram.cpp"
+ RelativePath=".\src\n_gram.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\src\ngramcache.cpp"
>
</File>
</Filter>
@@ -231,7 +235,11 @@
>
</File>
<File
- RelativePath=".\src\ngram.h"
+ RelativePath=".\src\n_gram.h"
+ >
+ </File>
+ <File
+ RelativePath=".\src\ngramcache.h"
>
</File>
</Filter>
diff --git a/irstlm/src/lmtable.cpp b/irstlm/src/lmtable.cpp
index dfbe2e6d9..117231798 100644
--- a/irstlm/src/lmtable.cpp
+++ b/irstlm/src/lmtable.cpp
@@ -17,8 +17,6 @@ License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
******************************************************************************/
-using namespace std;
-
#include <iostream>
#include <fstream>
@@ -34,6 +32,7 @@ using namespace std;
#include "n_gram.h"
#include "lmtable.h"
+using namespace std;
inline void error(char* message){
cerr << message << "\n";
diff --git a/irstlm/src/ngramcache.cpp b/irstlm/src/ngramcache.cpp
index 5487864aa..ce4887847 100644
--- a/irstlm/src/ngramcache.cpp
+++ b/irstlm/src/ngramcache.cpp
@@ -17,8 +17,6 @@ License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
******************************************************************************/
-using namespace std;
-
#include <iostream>
#include <fstream>
@@ -32,6 +30,8 @@ using namespace std;
#include "ngramcache.h"
+using namespace std;
+
ngramcache::ngramcache(int n,int size,int maxentries){
ngsize=n;
infosize=size;