quick start:g++ [flags ...] file ... -l /isip/tools/lib/$ISIP_BINARY/lib_mmedia.a #include <NGramNode.h> boolean setIndex(const long index); boolean setLmScore(const float lm_score); boolean setBackoff(const float backoff); boolean setNextGram(HashTable<Long, NGramNode>* hash); boolean set(const float lm_score, const float backoff); long getIndex() const; float getLmScore() const; float getBackoff() const; HashTable<Long, NGramNode>* getNextGram() const;
description:NGramNode nnode_00; HashTableht1; nnode_00.setNextGram(ht1);
static const String CLASS_NAME;
static const String PARAM_INDEX;
static const String PARAM_LM_SCORE;
static const String PARAM_BACKOFF;
static const String PARAM_NEXT_GRAM;
static const String PARAM_KEYS;
static const String PARAM_VALUES;
static const String DEF_PARAM;
static const long DEF_INDEX;
static const float DEF_LM_SCORE;
static const float DEF_BACKOFF;
static const long ERR = (long)50700;
Long index_d;
Float lm_score_d;
Float backoff_d;
HashTable<Long, NGramNode>* next_gram_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;
~NGramNode();
NGramNode();
NGramNode(const NGramNode& arg);
boolean assign(const NGramNode& arg);
NGramNode& operator= (const NGramNode& arg);
long sofSize() const;
boolean read(Sof& sof, const long tag, const String& cname = CLASS_NAME);
boolean write(Sof& sof, long tag, const String& cname = CLASS_NAME) const;
boolean readData(Sof& sof, const String& pname = DEF_PARAM, long size = SofParser::FULL_OBJECT, boolean param = true, boolean nested = false);
boolean writeData(Sof& sof, const String& pname = DEF_PARAM) const;
boolean eq(const NGramNode& arg) const;
static void* operator new(size_t size);
static void* operator new[](size_t size);
static void operator delete(void* ptr);
static void operator delete[](void* ptr);
static boolean setGrowSize(long grow_size);
boolean clear(Integral::CMODE ctype = Integral::DEF_CMODE);
boolean setIndex(const long index);
long getIndex() const;
boolean setLmScore(const float lm_score);
float getLmScore() const;
boolean setBackoff(const float backoff);
float getBackoff() const;
boolean set(const float lm_score, const float backoff);
boolean setNextGram(HashTable<Long, NGramNode>* hash);
HashTable<Long, NGramNode>* getNextGram() const;