#include <boost/program_options.hpp>
#include <iomanip>
#include "tpt_typedefs.h"
#include "ug_mm_ttrack.h"
#include "tpt_tokenindex.h"
#include "ug_deptree.h"
#include "ug_corpus_token.h"
#include "tpt_pickler.h"
Go to the source code of this file.
Typedefs | |
typedef L2R_Token< Conll_Sform > | Token |
Functions | |
void | interpret_args (int ac, char *av[]) |
void | printRangeMAM (size_t start, size_t stop) |
int | main (int argc, char *argv[]) |
Variables | |
string | mamfile |
vector< string > | range |
mmTtrack< char > | MAM |
bool | with_sids |
typedef L2R_Token<Conll_Sform> Token |
Definition at line 20 of file mam2symal.cc.
void interpret_args | ( | int | ac, | |
char * | av[] | |||
) |
Definition at line 26 of file mam2symal.cc.
int main | ( | int | argc, | |
char * | argv[] | |||
) |
Definition at line 80 of file mam2symal.cc.
References interpret_args(), mamfile, sapt::mmTtrack< TKN >::open(), printRangeMAM(), range, and sapt::mmTtrack< TKN >::size().
void printRangeMAM | ( | size_t | start, | |
size_t | stop | |||
) |
Definition at line 60 of file mam2symal.cc.
References tpt::binread(), sapt::mmTtrack< TKN >::sntEnd(), sapt::mmTtrack< TKN >::sntStart(), and with_sids.
Referenced by main().
Definition at line 22 of file mam2symal.cc.
string mamfile |
vector<string> range |
Definition at line 18 of file mam2symal.cc.
Referenced by SyntaxTree::Add(), Moses::ChartManager::AddXmlChartOptions(), Moses::StackLatticeBuilder::Build(), Moses::Syntax::S2T::TailLatticeBuilder::Build(), Moses::BleuScoreFeature::CalculateBleu(), Moses::ChartCellCollectionBase::ChartCellCollectionBase(), Moses::TranslationOptionCollectionLattice::CreateTranslationOptions(), Moses::Syntax::S2T::Manager< Parser >::Decode(), Moses::ChartManager::Decode(), Moses::SourceGHKMTreeInputMatchFeature::EvaluateWithSourceContext(), Moses::SoftSourceSyntacticConstraintsFeature::EvaluateWithSourceContext(), Moses::TranslationOptionCollectionLattice::Extend(), Moses::ChartManager::GetBestHypothesis(), Moses::Scope3Parser::GetChartRuleCollection(), Moses::ChartRuleLookupManagerOnDisk::GetChartRuleCollection(), Moses::ChartRuleLookupManagerMemoryPerSentence::GetChartRuleCollection(), Moses::ChartRuleLookupManagerMemory::GetChartRuleCollection(), Moses::ChartRuleLookupManagerExample::GetChartRuleCollection(), Moses::GetContext(), Moses::Sentence::GetXmlChartTranslationOptions(), Moses::Sentence::GetXmlTranslationOptions(), interpret_args(), main(), Moses::Manager::OutputSearchGraphAsHypergraph(), Moses::Hypothesis::PrintHypothesis(), Moses::ProcessAndStripXMLTags(), Moses::DecodeStepTranslation::ProcessInitialTranslation(), Moses::DecodeStepTranslation::ProcessInitialTransLEGACY(), Moses::TranslationOptionCollection::ProcessOneUnknownWord(), Moses::TreeInput::Read(), Moses::TargetNgramChartState::TargetNgramChartState(), Moses::TranslationOptionCollectionConfusionNet::TranslationOptionCollectionConfusionNet(), Moses::TranslationOptionCollectionLattice::TranslationOptionCollectionLattice(), Moses::TranslationOptionCollectionText::TranslationOptionCollectionText(), Moses::TranslationOptionCollectionText::ViolatesXmlOptionsConstraint(), and Moses::VWState::VWState().
bool with_sids |
Definition at line 23 of file mam2symal.cc.
Referenced by interpret_args(), printRangeMAM(), printRangeMCT(), and printRangeMTT().