#include <iostream>
#include <fstream>
#include <cassert>
#include <vector>
#include <string>
#include "moses/Util.h"
#include "Alignments.h"
Go to the source code of this file.
Classes | |
class | CreateXMLRetValues |
Functions | |
const std::string | TrimInternal (const std::string &str, const std::string dropChars=" \t\n\r") |
CreateXMLRetValues | createXML (int ruleCount, const string &source, const string &input, const string &target, const string &align, const string &path) |
void | create_xml (const string &inPath) |
void create_xml | ( | const string & | inPath | ) |
Definition at line 28 of file create_xml.cpp.
References count, createXML(), and NULL.
CreateXMLRetValues createXML | ( | int | ruleCount, | |
const string & | source, | |||
const string & | input, | |||
const string & | target, | |||
const string & | align, | |||
const string & | path | |||
) |
Definition at line 110 of file create_xml.cpp.
References CreateXMLRetValues::frame, CreateXMLRetValues::ruleAlignment, CreateXMLRetValues::ruleAlignmentInv, CreateXMLRetValues::ruleS, CreateXMLRetValues::ruleT, Moses::SPrint(), Moses::Tokenize(), and TrimInternal().
Referenced by create_xml().
const std::string TrimInternal | ( | const std::string & | str, | |
const std::string | dropChars = " \t\n\r" | |||
) | [inline] |
Definition at line 13 of file create_xml.cpp.
Referenced by createXML().