Trouble installling SRILM on mac (Mohave)

254 views Asked by At

In order to use KALDI ASR system I am trying to install SRILM (1.7.2) (Mac computer with Mohave 10.14.2). Apparently everything goes fine during SRILM compilation (make World), but in the end I get various errors when I try to pass the tests in SRILM (make tests). We have found that in machines in which SRILM tests fail, the accuracy of KALDI is variable (WER differ between two identical executions; e.g. 50% to 60%).

The two problems (failing to pass SRILM tests and variability in Kaldi) occur in Mac, but not in Linux (also in Linux installed in a Windows virtual machine)

I changed this in srilm/common/Makefile.machine.macosx:

CC = cc $(GCC_FLAGS)<BR>
CXX = c++ $(GCC_FLAGS) -DINSTANTIATE_TEMPLATES<BR>

to

CC = clang $(GCC_FLAGS)<BR>
CXX = clang++ $(GCC_FLAGS) -DINSTANTIATE_TEMPLATES<BR>

I also tried adding this line to the same file:

GCC_FLAGS += -m64<BR>

Finally, I tried different versions of SRILM

None of that worked

Any advice?

I have seen that Kaldi can be used with IRSTLM instead of SRILM. However, I'd prefer to use SRILM if it is possible . Thanks! Ignacio

0

There are 0 answers