#include <stdio.h>
#include <unistd.h>
#include <getopt.h>
#include "../hash/nps_vocab.c"
#include "../imat/imat_csr.c"
#include <stdlib.h>
#include <stdarg.h>
#include <assert.h>
#include "imat_csr.h"
#include <math.h>
#include "../error/error.h"
#include "../stdlib/alloc.c"
#include "../bio/bio.h"
#include "csr.c"
#include "../msg.c"
#include "imat_shared.c"
#include "imat_undef.h"
#include <float.h>
#include "logP.h"
#include <string.h>
#include "../hash/nps_vocab.h"
#include "imat_shared.h"
#include "csr.h"
#include "../bio/mkSfx.c"
#include "../bio/new.c"
#include "../bio/ch2Id.c"
#include "../bio/save.c"
#include "../bio/find.c"
#include "../bio/mapP.c"
#include "../bio/del.c"
#include "bio.h"
#include "sync_name.h"
#include "find.c"
#include "parseSfx.c"
#include "ty_sz.c"
#include <limits.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/mman.h>
#include "../imat/imat_csr.c"
#include "fsync.h"
#include "../error/error.c"
#include <libgen.h>
Defines | |
#define | _GNU_SOURCE |
#define | MODEL_DIR 1 |
#define | TEST_FILE 2 |
Functions | |
void | print_usage (FILE *f, char *progname) |
int | parse_args (int argc, char **argv) |
int | main (int argc, char **argv) |
Variables | |
char | usage [] |
char | output_scores = 0 |
char | output_probs = 0 |
char | ignore_marginals = 0 |
#define _GNU_SOURCE |
#define MODEL_DIR 1 |
#define TEST_FILE 2 |
int main | ( | int | argc, | |
char ** | argv | |||
) |
int parse_args | ( | int | argc, | |
char ** | argv | |||
) |
void print_usage | ( | FILE * | f, | |
char * | progname | |||
) |
char ignore_marginals = 0 |
char output_probs = 0 |
char output_scores = 0 |
char usage[] |
"%s [options] model_directory [test_file]\n" "Release: " HGVERSION "\n" "Options include:\n" "[-h|--help] print this message and exit\n" "[-s|--score] print log probability scores\n" "[-p|--probabilities] print probabilities (overides -s)\n" "[-i]--ignoreMarginals] ignore the p(c) parameters\n"