mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-25 12:52:29 +03:00
Fix compile errors in dynamic suffix array code
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@3065 1f5c12ca-751b-0410-a591-d2e778427230
This commit is contained in:
parent
d30212f19d
commit
639c8e5187
@ -1,5 +1,5 @@
|
||||
#ifndef moses_File_h
|
||||
#define moses_File_h
|
||||
#ifndef moses_DynSAInclude_File_h
|
||||
#define moses_DynSAInclude_File_h
|
||||
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
@ -14,6 +14,7 @@
|
||||
namespace Moses {
|
||||
typedef std::string FileExtension;
|
||||
|
||||
|
||||
class FileHandler: public std::fstream {
|
||||
public:
|
||||
// descriptors for stdin and stdout
|
||||
|
@ -5,6 +5,8 @@
|
||||
#include "TargetPhrase.h"
|
||||
#include <iomanip>
|
||||
|
||||
using namespace std;
|
||||
|
||||
namespace Moses {
|
||||
PhraseDictionaryDynSuffixArray::PhraseDictionaryDynSuffixArray(size_t numScoreComponent,
|
||||
PhraseDictionaryFeature* feature): PhraseDictionary(numScoreComponent, feature),
|
||||
|
@ -1,6 +1,8 @@
|
||||
#ifndef moses_PhraseDictionaryDynSuffixArray_h
|
||||
#define moses_PhraseDictionaryDynSuffixArray_h
|
||||
|
||||
#include <map>
|
||||
|
||||
#include "PhraseDictionary.h"
|
||||
#include "DynSuffixArray.h"
|
||||
#include "DynSAInclude/vocab.h"
|
||||
|
Loading…
Reference in New Issue
Block a user