mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 11:25:40 +03:00
delete includes for util/check.hh
This commit is contained in:
parent
43dc333cd7
commit
0a8390981e
@ -24,7 +24,6 @@
|
||||
#include <string>
|
||||
#include "OnDiskWrapper.h"
|
||||
#include "moses/Factor.h"
|
||||
#include "util/check.hh"
|
||||
#include "util/exception.hh"
|
||||
|
||||
using namespace std;
|
||||
|
@ -20,7 +20,6 @@
|
||||
#include <iostream>
|
||||
#include "moses/Util.h"
|
||||
#include "Phrase.h"
|
||||
#include "util/check.hh"
|
||||
#include "util/exception.hh"
|
||||
|
||||
using namespace std;
|
||||
|
@ -22,7 +22,6 @@
|
||||
#include "TargetPhraseCollection.h"
|
||||
#include "SourcePhrase.h"
|
||||
#include "moses/Util.h"
|
||||
#include "util/check.hh"
|
||||
#include "util/exception.hh"
|
||||
|
||||
using namespace std;
|
||||
|
@ -17,7 +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
|
||||
***********************************************************************/
|
||||
#include "util/check.hh"
|
||||
#include "SourcePhrase.h"
|
||||
|
||||
namespace OnDiskPt
|
||||
|
@ -39,7 +39,6 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||
#include <fstream>
|
||||
#include <ostream>
|
||||
#include <vector>
|
||||
#include "util/check.hh"
|
||||
|
||||
#include "moses/TypeDef.h"
|
||||
#include "moses/Sentence.h"
|
||||
|
@ -24,7 +24,6 @@
|
||||
#include "TargetPhraseCollection.h"
|
||||
#include "WordsRange.h"
|
||||
|
||||
#include "util/check.hh"
|
||||
#include <vector>
|
||||
#include <boost/shared_ptr.hpp>
|
||||
#include "ChartTranslationOption.h"
|
||||
|
@ -22,7 +22,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#ifndef moses_DecodeStep_h
|
||||
#define moses_DecodeStep_h
|
||||
|
||||
#include "util/check.hh"
|
||||
#include "TypeDef.h"
|
||||
#include "FactorTypeSet.h"
|
||||
#include "Phrase.h"
|
||||
|
@ -3,7 +3,6 @@
|
||||
#include <stdexcept>
|
||||
#include <string>
|
||||
#include "StatefulFeatureFunction.h"
|
||||
#include "util/check.hh"
|
||||
|
||||
namespace Moses
|
||||
{
|
||||
|
@ -1,5 +1,7 @@
|
||||
#include "ExternalFeature.h"
|
||||
#include <dlfcn.h>
|
||||
#include <stdlib.h>
|
||||
#include <iostream>
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
#include <string>
|
||||
#include <cstring>
|
||||
#include <malloc.h>
|
||||
#include "StatefulFeatureFunction.h"
|
||||
#include "FFState.h"
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
#ifndef moses_FFState_h
|
||||
#define moses_FFState_h
|
||||
|
||||
#include "util/check.hh"
|
||||
#include <vector>
|
||||
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
#include <stdexcept>
|
||||
|
||||
#include "util/check.hh"
|
||||
#include "util/exception.hh"
|
||||
|
||||
#include "FeatureFunction.h"
|
||||
|
@ -5,7 +5,6 @@
|
||||
#include "moses/InputPath.h"
|
||||
#include "moses/StaticData.h"
|
||||
#include "moses/TranslationModel/PhraseDictionaryTreeAdaptor.h"
|
||||
#include "util/check.hh"
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include "util/check.hh"
|
||||
|
||||
#include "moses/FF/FFState.h"
|
||||
#include "moses/Hypothesis.h"
|
||||
|
@ -1,7 +1,6 @@
|
||||
#include <fstream>
|
||||
#include "OpSequenceModel.h"
|
||||
#include "osmHyp.h"
|
||||
#include "util/check.hh"
|
||||
#include "moses/Util.h"
|
||||
|
||||
using namespace std;
|
||||
|
@ -3,7 +3,6 @@
|
||||
// $Id$
|
||||
|
||||
#include "StatelessFeatureFunction.h"
|
||||
#include "util/check.hh"
|
||||
|
||||
namespace Moses
|
||||
{
|
||||
|
@ -2,7 +2,6 @@
|
||||
|
||||
#include <string>
|
||||
#include "StatelessFeatureFunction.h"
|
||||
#include "util/check.hh"
|
||||
|
||||
namespace Moses
|
||||
{
|
||||
|
@ -19,7 +19,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
|
||||
***********************************************************************/
|
||||
|
||||
#include "util/check.hh"
|
||||
#include <iostream>
|
||||
#include <limits>
|
||||
#include <vector>
|
||||
|
@ -35,7 +35,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#include "moses/StaticData.h"
|
||||
#include "moses/ChartManager.h"
|
||||
#include "moses/ChartHypothesis.h"
|
||||
#include "util/check.hh"
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
@ -34,7 +34,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#include "moses/Phrase.h"
|
||||
#include "moses/InputFileStream.h"
|
||||
#include "moses/StaticData.h"
|
||||
#include "util/check.hh"
|
||||
#include "RandLM.h"
|
||||
|
||||
using namespace std;
|
||||
|
@ -19,7 +19,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
|
||||
***********************************************************************/
|
||||
|
||||
#include "util/check.hh"
|
||||
#include <limits>
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
|
@ -20,7 +20,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
|
||||
***********************************************************************/
|
||||
|
||||
#include "util/check.hh"
|
||||
#include <algorithm>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
|
@ -9,7 +9,6 @@
|
||||
|
||||
#include <vector>
|
||||
#include <algorithm>
|
||||
#include "util/check.hh"
|
||||
#include <deque>
|
||||
#include "Util.h"
|
||||
#include "FilePtr.h"
|
||||
|
@ -30,7 +30,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#include <boost/serialization/split_member.hpp>
|
||||
#endif
|
||||
|
||||
#include "util/check.hh"
|
||||
|
||||
#include "moses/FF/FeatureFunction.h"
|
||||
#include "FeatureVector.h"
|
||||
|
@ -21,7 +21,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
***********************************************************************/
|
||||
|
||||
#include <string>
|
||||
#include "util/check.hh"
|
||||
|
||||
#include "TypeDef.h"
|
||||
#include "moses/FF/WordPenaltyProducer.h"
|
||||
|
@ -22,7 +22,6 @@
|
||||
#include "DotChart.h"
|
||||
#include "moses/TranslationModel/PhraseDictionaryNodeMemory.h"
|
||||
|
||||
#include "util/check.hh"
|
||||
#include <vector>
|
||||
|
||||
namespace Moses
|
||||
|
@ -20,8 +20,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <vector>
|
||||
#include "util/check.hh"
|
||||
|
||||
#include "DotChart.h"
|
||||
|
||||
namespace OnDiskPt
|
||||
|
@ -19,6 +19,7 @@
|
||||
|
||||
#include <cmath>
|
||||
#include "FileHandler.h"
|
||||
#include "util/check.hh"
|
||||
|
||||
#ifdef WIN32
|
||||
#define log2(X) (log((double)X)/log((double)2))
|
||||
|
@ -5,7 +5,6 @@
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <vector>
|
||||
#include "util/check.hh"
|
||||
#include "FileHandler.h"
|
||||
#include "utils.h"
|
||||
#include "types.h"
|
||||
|
@ -3,7 +3,6 @@
|
||||
|
||||
#include <vector>
|
||||
#include <cmath>
|
||||
#include "util/check.hh"
|
||||
#include <algorithm>
|
||||
#include "types.h"
|
||||
|
||||
|
@ -24,7 +24,6 @@
|
||||
#include "moses/InputType.h"
|
||||
#include "moses/NonTerminal.h"
|
||||
#include "moses/TranslationModel/RuleTable/Trie.h"
|
||||
#include "util/check.hh"
|
||||
|
||||
namespace Moses
|
||||
{
|
||||
|
@ -3,7 +3,6 @@
|
||||
#include "moses/FeatureVector.h"
|
||||
#include "moses/TranslationModel/PhraseDictionaryTree.h"
|
||||
#include <map>
|
||||
#include "util/check.hh"
|
||||
#include <sstream>
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
|
@ -6,7 +6,6 @@
|
||||
#include "moses/TypeDef.h"
|
||||
#include "moses/TargetPhraseCollection.h"
|
||||
#include "moses/TranslationModel/PhraseDictionary.h"
|
||||
#include "util/check.hh"
|
||||
#include <vector>
|
||||
|
||||
#ifdef WITH_THREADS
|
||||
|
@ -44,7 +44,6 @@
|
||||
#include "moses/TranslationModel/CYKPlusParser/ChartRuleLookupManagerMemoryPerSentence.h"
|
||||
#include "moses/TranslationModel/fuzzy-match/FuzzyMatchWrapper.h"
|
||||
#include "moses/TranslationModel/fuzzy-match/SentenceAlignment.h"
|
||||
#include "util/check.hh"
|
||||
#include "util/file.hh"
|
||||
#include "util/exception.hh"
|
||||
|
||||
|
@ -28,7 +28,6 @@
|
||||
#include "OnDiskPt/OnDiskWrapper.h"
|
||||
#include "OnDiskPt/Word.h"
|
||||
#include "OnDiskPt/PhraseNode.h"
|
||||
#include "util/check.hh"
|
||||
|
||||
#ifdef WITH_THREADS
|
||||
#include <boost/thread/tss.hpp>
|
||||
|
@ -10,7 +10,6 @@
|
||||
#include "FactorCollection.h"
|
||||
#include "FF/InputFeature.h"
|
||||
#include "TranslationModel/PhraseDictionaryTreeAdaptor.h"
|
||||
#include "util/check.hh"
|
||||
#include "util/exception.hh"
|
||||
|
||||
using namespace std;
|
||||
|
@ -7,7 +7,6 @@
|
||||
#include "TranslationOptionCollectionLattice.h"
|
||||
#include "TranslationOptionCollectionConfusionNet.h"
|
||||
#include "moses/FF/InputFeature.h"
|
||||
#include "util/check.hh"
|
||||
|
||||
namespace Moses
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user