Skip to content
Snippets Groups Projects
Commit 31993169 authored by Benoit Favre's avatar Benoit Favre
Browse files

make links relative

parent 2295dee8
No related branches found
No related tags found
No related merge requests found
Showing
with 18 additions and 18 deletions
/home/favre/work/kaldi/interface-rocio/asr/tools/base/acoustic-model/adaptation-macbook.txt
\ No newline at end of file
../../tools/base/acoustic-model/adaptation-macbook.txt
\ No newline at end of file
/home/favre/work/kaldi/interface-rocio/asr/tools/base/acoustic-model/adaptation-show.txt
\ No newline at end of file
../../tools/base/acoustic-model/adaptation-show.txt
\ No newline at end of file
/home/favre/work/kaldi/interface-rocio/asr/tools/base/acoustic-model/conf
\ No newline at end of file
../../tools/base/acoustic-model/conf
\ No newline at end of file
/home/favre/work/kaldi/interface-rocio/asr/tools/base/acoustic-model/final.mdl
\ No newline at end of file
../../tools/base/acoustic-model/final.mdl
\ No newline at end of file
/home/favre/work/kaldi/interface-rocio/asr/tools/base/acoustic-model/ivector_extractor
\ No newline at end of file
../../tools/base/acoustic-model/ivector_extractor
\ No newline at end of file
/home/favre/work/kaldi/interface-rocio/asr/tools/base/acoustic-model/adaptation-macbook.txt
\ No newline at end of file
../../tools/base/acoustic-model/adaptation-macbook.txt
\ No newline at end of file
/home/favre/work/kaldi/interface-rocio/asr/tools/base/acoustic-model/adaptation-show.txt
\ No newline at end of file
../../tools/base/acoustic-model/adaptation-show.txt
\ No newline at end of file
/home/favre/work/kaldi/interface-rocio/asr/tools/base/acoustic-model/conf
\ No newline at end of file
../../tools/base/acoustic-model/conf
\ No newline at end of file
/home/favre/work/kaldi/interface-rocio/asr/tools/base/acoustic-model/final.mdl
\ No newline at end of file
../../tools/base/acoustic-model/final.mdl
\ No newline at end of file
/home/favre/work/kaldi/interface-rocio/asr/tools/base/acoustic-model/ivector_extractor
\ No newline at end of file
../../tools/base/acoustic-model/ivector_extractor
\ No newline at end of file
/home/favre/work/kaldi/interface-rocio/asr/tools/base/acoustic-model/adaptation-macbook.txt
\ No newline at end of file
../../tools/base/acoustic-model/adaptation-macbook.txt
\ No newline at end of file
/home/favre/work/kaldi/interface-rocio/asr/tools/base/acoustic-model/adaptation-show.txt
\ No newline at end of file
../../tools/base/acoustic-model/adaptation-show.txt
\ No newline at end of file
/home/favre/work/kaldi/interface-rocio/asr/tools/base/acoustic-model/conf
\ No newline at end of file
../../tools/base/acoustic-model/conf
\ No newline at end of file
/home/favre/work/kaldi/interface-rocio/asr/tools/base/acoustic-model/final.mdl
\ No newline at end of file
../../tools/base/acoustic-model/final.mdl
\ No newline at end of file
/home/favre/work/kaldi/interface-rocio/asr/tools/base/acoustic-model/ivector_extractor
\ No newline at end of file
../../tools/base/acoustic-model/ivector_extractor
\ No newline at end of file
......@@ -77,8 +77,8 @@ cat "$tmp/lm.arpa" | \
fstrmepsilon > $tmp/G.fst
cp base/phones.txt $tmp/
(cd $tmp && ln -sf L_disambig.fst L.fst)
(cd $tmp && ln -sf ../base/phones .)
(cd $tmp && ln --relative -sf L_disambig.fst L.fst)
(cd $tmp && ln --relative -sf ../base/phones .)
# make whole search space from HMM targets to words, HCLG.fst
utils/mkgraph.sh $tmp/ base/tri3b/ base/tri3b/graph
......@@ -86,7 +86,7 @@ cp base/tri3b/graph/HCLG.fst $output/
cp $tmp/words.txt $output/
# add acoustic model
(cd $output && ln -sf $dirname/base/acoustic-model/{conf,ivector_extractor,final.mdl,adaptation*} .)
(cd $output && ln --relative -sf $dirname/base/acoustic-model/{conf,ivector_extractor,final.mdl,adaptation*} .)
cp $input $output
# TODO: generate new config
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment