#include <fstream>#include <iostream>#include <vector>#include <sstream>#include <map>#include <set>#include <cstdlib>Go to the source code of this file.
Functions | |
| int | stringToInteger (string s) |
| void | loadInput (const char *fileName, vector< string > &input) |
| void | getWords (string s, vector< string > &currInput) |
| void | getMeCepts (set< int > &eSide, set< int > &fSide, map< int, vector< int > > &tS, map< int, vector< int > > &sT) |
| void | constructCepts (vector< pair< set< int >, set< int > > > &ceptsInPhrase, set< int > &sourceNullWords, set< int > &targetNullWords, vector< string > &alignment, int eSize, int fSize) |
| void | getOneToOne (vector< pair< set< int >, set< int > > > &ceptsInPhrase, vector< string > &currF, vector< string > &currE, set< string > &one) |
| void | printOneToOne (set< string > &one) |
| int | main (int argc, char *argv[]) |
| void constructCepts | ( | vector< pair< set< int >, set< int > > > & | ceptsInPhrase, | |
| set< int > & | sourceNullWords, | |||
| set< int > & | targetNullWords, | |||
| vector< string > & | alignment, | |||
| int | eSize, | |||
| int | fSize | |||
| ) |
Definition at line 87 of file 1-1-Extraction.cpp.
References getMeCepts(), src, and stringToInteger().
Referenced by main().


| void getMeCepts | ( | set< int > & | eSide, | |
| set< int > & | fSide, | |||
| map< int, vector< int > > & | tS, | |||
| map< int, vector< int > > & | sT | |||
| ) |
Definition at line 55 of file 1-1-Extraction.cpp.
Referenced by constructCepts(), and getMeCepts().

| void getOneToOne | ( | vector< pair< set< int >, set< int > > > & | ceptsInPhrase, | |
| vector< string > & | currF, | |||
| vector< string > & | currE, | |||
| set< string > & | one | |||
| ) |
Definition at line 166 of file 1-1-Extraction.cpp.
Referenced by main().

| void getWords | ( | string | s, | |
| vector< string > & | currInput | |||
| ) |
Definition at line 41 of file 1-1-Extraction.cpp.
Referenced by main().

| void loadInput | ( | const char * | fileName, | |
| vector< string > & | input | |||
| ) |
Definition at line 22 of file 1-1-Extraction.cpp.
Referenced by main().

| int main | ( | int | argc, | |
| char * | argv[] | |||
| ) |
Definition at line 190 of file 1-1-Extraction.cpp.
References constructCepts(), getOneToOne(), getWords(), loadInput(), and printOneToOne().

| void printOneToOne | ( | set< string > & | one | ) |
Definition at line 181 of file 1-1-Extraction.cpp.
Referenced by main().

| int stringToInteger | ( | string | s | ) |
Definition at line 13 of file 1-1-Extraction.cpp.
Referenced by constructCepts().

1.5.9