Hi,<br><br>I am trying to build a Python interface for FLM using Swig 2.0.0. However, in my C++ code where I call the SRILM functions, I am receiving the following error:<br><br>Error: tag used (W) does not exist in FVocab object<br>
Abort<br><br>This error occurs when i make a call to FactoredVocab::setCurrentTagVocab ("W") method. <br><br>My FLM specification file is as follows:<br><br><br>1 ## Number of language models to be trained<br><br>
## Simple Trigram Language model with backoff<br>W : 2 W(-1) W(-2) trigram_counts trigram_lm 3 ## The count and LM files are to be spcified later<br>W1W2 W2 wbdiscount gtmin 1 interpolate<br>
W1 W1 wbdiscount gtmin 1 interpolate<br>0 0 wbdiscount gtmin 1<br><br>I dont know why I am getting this error, despite the fact that I have clearly specified the W tag in the spec file. Can anyone give me some pointers regarding how this may be corrected? <br clear="all">
<br>-- <br>Diptesh Chatterjee<br>Fourth Year Dual Degree Student<br>Department of Computer Science and Engineering<br>Indian Institute of Technology Kharagpur<br>
<br>