presage  0.9.2~beta
Typedefs | Functions | Variables
text2ngram.cpp File Reference
#include "config.h"
#include <iostream>
#include <fstream>
#include <vector>
#include <list>
#include <string>
#include <map>
#include <getopt.h>
#include <assert.h>
#include "core/tokenizer/forwardTokenizer.h"
#include "core/iso8859_1.h"
#include "core/progress.h"
#include "../lib/predictors/dbconnector/sqliteDatabaseConnector.h"
Include dependency graph for text2ngram.cpp:

Go to the source code of this file.

Typedefs

typedef std::list< std::string > NgramList
 

Functions

void usage ()
 
void version ()
 
int main (int argc, char *argv[])
 

Variables

const std::string PROGRAM_NAME = "text2ngram"
 

Typedef Documentation

◆ NgramList

typedef std::list<std::string> NgramList

Definition at line 53 of file text2ngram.cpp.

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

◆ usage()

void usage ( )

Definition at line 308 of file text2ngram.cpp.

References endl(), and PROGRAM_NAME.

Referenced by main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ version()

void version ( )

Definition at line 297 of file text2ngram.cpp.

References endl(), and PROGRAM_NAME.

Referenced by main().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ PROGRAM_NAME

const std::string PROGRAM_NAME = "text2ngram"

Definition at line 51 of file text2ngram.cpp.

Referenced by usage(), and version().