General Discussion

Nested
CMU language modeling toolkit installing in Linux
User: Loulou
Date: 12/26/2007 8:35 am
Views: 247
Rating: 10

Hi,

I have a problem to install CMU language modeling toolkit on Linux System.

I changed

#BYTESWAP_FLAG  = -DSLM_SWAP_BYTES to  BYTESWAP_FLAG  = -DSLM_SWAP_BYTES

I tayped "make install" and I have an error message "command not found"

What I must do to isntall it?

Thx

--- (Edited on 12/26/2007 8:35 am [GMT-0600] by Visitor) ---

Re: CMU language modeling toolkit installing in Linux
User: Tony Robinson
Date: 12/26/2007 9:18 am
Views: 300
Rating: 16

I have a problem to install CMU language modeling toolkit on Linux System.

I typed "make install" and I have an error message "command not found"

Your error message was probably:

bash: make: command not found

Meaning you are missing the executable called "make".

How you install this will be dependent on the distribution you are using, obviously if you have a "Add/Rembve Software" menu item then this is a good place to start.   You may well also be missing gcc.

 

Tony

-- 

Dr Tony Robinson, CEO Cantab Research Ltd
Phone: +44 7913 818743

--- (Edited on 26-December-2007 3:18 pm [GMT+0000] by Tony Robinson) ---

Re: CMU language modeling toolkit installing in Linux
User: Lotfi AMIAR (Loulou)
Date: 12/27/2007 1:43 am
Views: 5745
Rating: 23
Good mornning
Thank you for your response, and I was able now to install it.
I'm another question :

I want to run the tools of CMU toolkit on Linux:
The Tools

I typed : text.txt | text2wfreq >| a.wfreq

The file a.wfreq is generated but it's with 0 byte size and i have an error message : 

bash:text2wfreq: command not found 

I think that is a correct syntax!!

Mr. Tony,

if you like, I ask you to send me a document which will help me to learn the CMU tollkit for Statistical Language Modeling (syntax of different CMU tools with examples).
Thank you Mr.
M. Lotfi AMIAR
E-mail : [email protected]    

--- (Edited on 12/27/2007 1:43 am [GMT-0600] by Visitor) ---

Re: CMU language modeling toolkit installing in Linux
User: nsh
Date: 12/27/2007 2:51 am
Views: 415
Rating: 12

It must be either ./text2wfreq or you have to add folder with executables to your PATH variables.

I suggest you to read http://linux.org.mt/article/terminal before starting with cmulm. This kind of information will be always useful for you.

--- (Edited on 12/27/2007 2:51 am [GMT-0600] by nsh) ---

PreviousNext