Revision ffecdde8a4da237dcdbffc19e11316e439d53043 authored by Vesa Siivola on 30 January 2023, 07:22:54 UTC, committed by GitHub on 30 January 2023, 07:22:54 UTC
update docs
TreeGramArpaReader.hh
// Routines for reading and writing arpa format files from and to the
// internal prefix tree format.
#ifndef TREEGRAMARPAREADER_HH
#define TREEGRAMARPAREADER_HH
#include "TreeGram.hh"
#include <stdio.h>
class TreeGramArpaReader {
public:
void read(FILE *file, TreeGram *tree_gram, bool add_missing_unigrams = false);
void write(FILE *file, TreeGram *tree_gram,
std::string field_separator = " ");
void write_interpolated(FILE *file, TreeGram *treegram,
std::string field_separator = " ");
};
#endif /* TREEGRAMARPAREADER_HH */
Computing file changes ...