quick start:g++ [flags ...] file ... -l /isip/tools/lib/$ISIP_BINARY/lib_mmedia.a #include <TranscriptionDatabase.h> String& getDataBaseName(); boolean setDataBaseName(String& arg); boolean removeRecord(String& identifier); boolean insertRecord(String& identifier, AnnotationGraph& graph); boolean getRecord(String& identifier, AnnotationGraph& graph); boolean getRecord(String& identifier, String& feature, String& value, DoubleLinkedList<String>& records); boolean getRecord(String& identifier, String& feature, String& value, DoubleLinkedList<Annotation>& records); boolean load(Sdb& sdb_a, Filename& trans_file); boolean load(Sdb& sdb_a, Filename& trans_file_a, Filename& lexicon_file_a, Filename& systactic_file_a);
description:TranscriptionDatabase trans_00; String name_00(L"TIDIGITS"); trans_00.setDataBaseName(name_00); String ident_00(L"id_00"); AnnotationGraph angr_00; trans_00.insertRecord(ident_00, angr_00);
static const String CLASS_NAME;
static const String DEF_PARAM;
static const String PARAM_KEYS;
static const String PARAM_NAME;
static const String PARAM_VALUES;
static const long ERR = 50500;
String name_d;
HashTable<String, AnnotationGraph> hash_d;
static Integral::DEBUG debug_level_d;
static MemoryManager mgr_d;
static const String& name();
static boolean diagnose(Integral::DEBUG debug_level);
boolean debug(const unichar* msg) const;
static boolean setDebug(Integral::DEBUG arg);
~TranscriptionDatabase();
TranscriptionDatabase();
TranscriptionDatabase(const TranscriptionDatabase& arg);
boolean assign(const TranscriptionDatabase& arg);
not present.
long sofSize() const;
boolean read(Sof& sof, long tag);
boolean read(Sof& sof, long tag, const String& name);
boolean readData(Sof& sof, const String& pname = DEF_PARAM, long size = SofParser::FULL_OBJECT, boolean param = true, boolean nested = false);
boolean write(Sof& sof, long tag) const;
boolean write(Sof& sof, long tag, const String& name) const;
boolean writeData(Sof& sof, const String& pname = DEF_PARAM) const;
boolean eq(const TranscriptionDatabase& arg) const;
static void* operator new(size_t arg);
static void* operator new[](size_t arg);
static void operator delete(void* arg);
static void operator delete[](void* arg);
static boolean setGrowSize(long arg);
boolean clear(Integral::CMODE cmode = Integral::DEF_CMODE);
String& getDataBaseName();
boolean setDataBaseName(String& arg);
boolean removeRecord(String& identifier);
boolean insertRecord(String& identifier, AnnotationGraph& graph);
boolean getRecord(String& identifier, AnnotationGraph& graph);
boolean getRecord(String& identifier, String& feature, String& value, Vector& annotations, VectorFloat& start_times, VectorFloat& end_times;
boolean getRecord(String& identifier, String& feature, String& value, String& type, Vector& annotations, VectorFloat& start_times, VectorFloat& end_times);
boolean getRecord(String& identifier, String& feature, String& value, DoubleLinkedList<String>& records);
boolean getRecord(String& identifier, String& feature, String& value, DoubleLinkedList<Annotation>& records);
boolean getRecord(String& identifier, Vector<String>& values, String& record);
boolean open(const Filename& filename);
boolean close();
boolean load(Filename& trans_file, String& name, String& level);
boolean load(Sdb& sdb_a, Filename& trans_file);
boolean load(Sdb& sdb_a, Filename& trans_file, Filename& lexicon_file, boolean flag = true);
boolean load(Sdb& sdb_a, Filename& trans_file_a, Filename& lexicon_file_a, Filename& systactic_file_a);
boolean store(Sof& db_sof, long tag);
boolean load(Filename& trans_file, String& name, String& level, Sof& db_sof, long tag);
boolean storePartial(Sdb& db_sof, long tag, Vector& keys);
boolean storePartial(Sdb& db_sof, long tag, AnnotationGraph& graph);
boolean getHypothesesNistTrn(Sdb& ident_list_sdb, String& feature, Vector& nist_hypotheses);
boolean getAlignmentsHypAlign(Sdb& ident_list_sdb, String& levels, Vector<String>& alignments);
boolean getIdentifiers(Vector& identifiers);
boolean parseLevels(const String& input, Vector<String>& levels);