Search SRILM-USER Archives

Match: Format: Sort by:
Search:

can a cache LM be loaded in disambig?

From: June July <julyjune03 at ADDRESS HIDDEN>
Date: Sat, 10 Apr 2004 22:30:12 -0700 (PDT)

--0-1533885807-1081661412=:75154
Content-Type: text/plain; charset=us-ascii

I'm trying to load a cache LM in disambig tool by adding several lines of code according to ngram.cc.  Everything is fine except the linking, where I had a problem:

/usr3/Test/sri-1.4/lm/src/CacheLM.cc:50: multiple definition of `LHash<unsigned, double>::removedData'
../obj/i686/liboolm.a(VocabMap.o):/usr3/Test/sri-1.4/lm/src/VocabMap.cc:39: first defined here
collect2: ld returned 1 exit status

Does that mean duplicate definations of "removeData" originally from LHash.cc?  How to fix it? Or is there an way to load a cache model in disambig?




---------------------------------
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
--0-1533885807-1081661412=:75154
Content-Type: text/html; charset=us-ascii

<DIV>I'm trying to load a cache LM in disambig tool by adding several lines of code according to ngram.cc.  Everything is fine except the linking, where I had a problem:</DIV>
<DIV> </DIV>
<DIV>/usr3/Test/sri-1.4/lm/src/CacheLM.cc:50: multiple definition of `LHash<unsigned, double>::removedData'</DIV>
<DIV>../obj/i686/liboolm.a(VocabMap.o):/usr3/Test/sri-1.4/lm/src/VocabMap.cc:39: first defined here</DIV>
<DIV>collect2: ld returned 1 exit status</DIV>
<DIV> </DIV>
<DIV>Does that mean duplicate definations of "removeData" originally from LHash.cc?  How to fix it? Or is there an way to load a cache model in disambig?</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV><p><hr size=1><font face=arial size=-1>Do you Yahoo!?<br>
Yahoo! Tax Center - <a href="http://taxes.yahoo.com/filing.html">File online by April 15th</a>
--0-1533885807-1081661412=:75154--

Click here to go to the SRILM home page.