#include <stdio.h>
#include <stdlib.h>
#include <cassert>
#include <algorithm>
#include <functional>
#include <boost/filesystem.hpp>
#include "pruneGeneration.h"
#include "moses/InputFileStream.h"
#include "moses/OutputFileStream.h"
Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
void | Process (int limit, istream &inStrme, ostream &outStrme) |
void | Output (ostream &outStrme, vector< Rec > &records, int limit) |
int main | ( | int | argc, | |
char ** | argv | |||
) |
Definition at line 13 of file pruneGeneration.cpp.
References Process().
void Output | ( | ostream & | outStrme, | |
vector< Rec > & | records, | |||
int | limit | |||
) |
Definition at line 89 of file pruneGeneration.cpp.
References Rec::line, and sort().
void Process | ( | int | limit, | |
istream & | inStrme, | |||
ostream & | outStrme | |||
) |
Definition at line 61 of file pruneGeneration.cpp.
References Moses::Output, prob(), and Moses::Tokenize().
Referenced by main().