--- htk_3.4.1/HTKTools/HLRescore.c 2009-03-12 18:52:51.000000000 +0000 +++ htk_3.4.2/HTKTools/HLRescore.c 2009-11-22 12:37:35.435000000 +0000 @@ -93,9 +93,9 @@ static Lattice *wpNet; /* the word level recognition network */ static Vocab vocab; /* wordlist or dictionary */ -static char *startWord; /* word at start of Lattice (!SENT_START) */ +static char *startWord = "!SENT_START";/* word at start of Lattice (!SENT_START) */ static LabId startLab; /* corresponding LabId */ -static char *endWord; /* word at end of Lattice (!SENT_END) */ +static char *endWord = "!SENT_END";/* word at end of Lattice (!SENT_END) */ static LabId endLab; /* corresponding LabId */ static LabId nullLab; /* !NULL LabId */ static char *startLMWord; /* word at start in LM () */ --- htk_3.4.1/HTKLib/HLabel.c 2009-03-12 18:44:22.000000000 +0000 +++ htk_3.4.2/HTKLib/HLabel.c 2009-11-22 12:40:50.007000000 +0000 @@ -197,6 +197,7 @@ int h; NameCell *p; + if (!name) HError(6570,"GetLabId: no label given"); ++numAccesses; ++numTests; if ((trace&T_HASH) && numAccesses%100 == 0) PrintNameTabStats();