/usr/include/sfst-1/sfst/make-compact.h is in libsfst1-1.4-dev 1.4.7b-1+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | /*******************************************************************/
/* */
/* FILE make-compact.h */
/* MODULE make-compact */
/* PROGRAM SFST */
/* AUTHOR Helmut Schmid, IMS, University of Stuttgart */
/* */
/*******************************************************************/
#ifndef _MAKE_COMPACT_H_
#define _MAKE_COMPACT_H_
#include "fst.h"
#include "compact.h"
namespace SFST {
class MakeCompactTransducer : CompactTransducer {
private:
void count_arcs(Node *node, VType vmark);
void store_arcs(Node *node, VType vmark);
void store_finalp( FILE *file );
void store_first_arcs( FILE *file );
void store_target_nodes( FILE *file );
void store_labels( FILE *file );
public:
MakeCompactTransducer( Transducer &a, Level sort=upper );
void sort( Level );
void store( FILE *file );
};
}
#endif
|