#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"
Go to the source code of this file.
Typedefs | |
typedef L2R_Token< Conll_Sform > | Token |
Functions | |
void | interpret_args (int ac, char *av[]) |
void | printRangeMTT (size_t start, size_t stop) |
void | printRangeMCT (size_t start, size_t stop) |
int | main (int argc, char *argv[]) |
Variables | |
string | bname |
string | mtt |
string | mct |
vector< string > | range |
TokenIndex | SF |
TokenIndex | LM |
TokenIndex | PS |
TokenIndex | DT |
mmTtrack< Token > | MTT |
mmTtrack< SimpleWordId > | MCT |
bool | sform |
bool | have_mtt |
bool | have_mct |
bool | with_sids |
bool | with_positions |
typedef L2R_Token<Conll_Sform> Token |
Definition at line 19 of file mtt-dump.cc.
void interpret_args | ( | int | ac, | |
char * | av[] | |||
) |
Definition at line 29 of file mtt-dump.cc.
References bname, mct, mtt, range, sform, store(), with_positions, and with_sids.
int main | ( | int | argc, | |
char * | argv[] | |||
) |
Definition at line 124 of file mtt-dump.cc.
References bname, have_mct, have_mtt, sapt::TokenIndex::iniReverseIndex(), interpret_args(), mct, mtt, sapt::mmTtrack< TKN >::open(), sapt::TokenIndex::open(), printRangeMCT(), printRangeMTT(), range, sform, and sapt::mmTtrack< TKN >::size().
void printRangeMCT | ( | size_t | start, | |
size_t | stop | |||
) |
Definition at line 106 of file mtt-dump.cc.
References sapt::mmTtrack< TKN >::sntEnd(), sapt::mmTtrack< TKN >::sntStart(), with_positions, and with_sids.
Referenced by main().
void printRangeMTT | ( | size_t | start, | |
size_t | stop | |||
) |
Definition at line 67 of file mtt-dump.cc.
References sform, sapt::mmTtrack< TKN >::sntEnd(), sapt::mmTtrack< TKN >::sntStart(), with_positions, and with_sids.
Referenced by main().
string bname |
Definition at line 16 of file mtt-dump.cc.
Definition at line 21 of file mtt-dump.cc.
bool have_mct |
bool have_mtt |
Definition at line 21 of file mtt-dump.cc.
Definition at line 23 of file mtt-dump.cc.
string mct |
Definition at line 22 of file mtt-dump.cc.
string mtt |
Definition at line 16 of file mtt-dump.cc.
Referenced by build_conll_tsas(), interpret_args(), main(), and remap().
Definition at line 21 of file mtt-dump.cc.
vector<string> range |
Definition at line 17 of file mtt-dump.cc.
Definition at line 21 of file mtt-dump.cc.
bool sform |
Definition at line 24 of file mtt-dump.cc.
Referenced by sapt::Conll_Sform::id(), interpret_args(), main(), printRangeMTT(), and remap().
bool with_positions |
Definition at line 27 of file mtt-dump.cc.
Referenced by interpret_args(), printRangeMCT(), and printRangeMTT().
bool with_sids |
Definition at line 26 of file mtt-dump.cc.