Commit 540737f4 authored by Dan Povey's avatar Dan Povey
Browse files

trunk: another patch to sctk so it will compile on more systems; minor documentation change.

git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@4458 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
parent f78626c8
......@@ -312,7 +312,8 @@ for the subsequential symbol, as follows:
grep '#' data/phones_disambig.txt | awk '{print $2}' > $dir/disambig_phones.list
subseq_sym=`tail -1 data/phones_disambig.txt | awk '{print $2+1;}'`
\endverbatim
We could then create C with the following command:
We could then create C with the following command (however, see below
regarding fstcomposecontext; we don't do this in practice as it is inefficient).
\verbatim
fstmakecontextfst --read-disambig-syms=$dir/disambig_phones.list \
--write-disambig-syms=$dir/disambig_ilabels.list data/phones.txt $subseq_sym \
......
......@@ -95,6 +95,7 @@ sctk/.configured: sctk
sctk/.patched: sctk
cd sctk; patch -N -p0 < ../extras/sctk-2.4.8.patch
cd sctk/src/rfilter1/; patch -N -p0 < ../../../extras/sctk-2.4.8.patch2
touch sctk/.patched
......
This diff is collapsed.
--- src/rfilter1/makefile.in 2004-10-22 08:49:58.000000000 -0700
+++ src/rfilter1/makefile.in.new 2014-03-04 23:58:06.000000000 -0800
@@ -16,7 +16,7 @@
bindir = $(PREFIX)/bin
rfilter1: rfilter1.c
- gcc $(OPTIONS) -o rfilter1 rfilter1.c
+ gcc $(OPTIONS) -ffreestanding -o rfilter1 rfilter1.c
setTests:
./rfilter1 ../test_suite/test.arb2004.glm < ../test_suite/test.arb2004.txt > ../test_suite/test.arb2004.txt.rfilter1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment