Commit 17d865629cb2ccc491cad537f04937f8c3580056

Authored by Jean-François Rey
1 parent 2ce72581f1
Exists in master

update doc

Showing 3 changed files with 60 additions and 2 deletions Side-by-side Diff

  1 +#################
  2 +# OTMEDIALIA #
  3 +# FAQ #
  4 +#################
  5 +
  6 +1/ I've got "directory is locked"
  7 +---------------------------------
  8 + That happens when a process is working on the show
  9 + or when a pass has not ending correctly.
  10 + To force the lock use option "-r"
  11 +
  12 +
  13 +
... ... @@ -5,6 +5,24 @@
5 5 #---------------#
6 6  
7 7 1\ Main scripts options
  8 +2\ Main scripts
  9 + 2.1\ FirstPass.sh
  10 + 2.2\ SecondPass.sh
  11 + 2.3\ ConfPass.sh
  12 + 2.4\ ExploitConfidencePass.sh
  13 + 2.5\ ThirdPass.sh
  14 + 2.6\ RecomposePass.sh
  15 + 2.7\ ScoringRes.sh
  16 + 2.8\ CheckResults.sh
  17 +3\ OneScriptToRuleThemAll.sh
  18 +4\ Modify configuration
  19 + 4.1\ Scripts configurations
  20 + 4.2\ Speeral configurations
  21 +5\ Modify binaries
  22 +6\ Exemples
  23 +
  24 +
  25 +1\ Main scripts options
8 26 -----------------------
9 27  
10 28 There are five main options for otmedia scripts.
... ... @@ -16,6 +34,10 @@
16 34  
17 35 2\ Main scripts
18 36 ---------------
  37 +
  38 + Each script got a configuration file in OTMEDIA_HOME/cfg/<scriptname>.cfg .
  39 + The main options can be modify individually through the arguments or in the configuration file.
  40 +
19 41 2.1\ FirstPass.sh
20 42 -----------------
21 43  
... ... @@ -66,7 +88,7 @@
66 88 Output : result_directory/110624FR2_20002100/trigg/speeral
67 89 result_directory/110624FR2_20002100/LEX/speeral/_ext
68 90  
69   - 2.5\ ThirstPass.sh
  91 + 2.5\ ThirdPass.sh
70 92 ------------------
71 93  
72 94 ThirdPass.sh do transcriptions using SecondPass speaker adaptation and ExploitConfidencePass trigg files and new lexicon.
73 95  
... ... @@ -138,11 +160,13 @@
138 160 Speeral configuration file can be also change (tools/Speeral/CFG/ directory)
139 161  
140 162 4.1\ Scripts configurations
  163 + ---------------------------
141 164  
142 165 In scripts configuration files (OTMEDIA_HOME/cfg/) you can change default options as architecture, verbose ...
143 166 Scripts using Speeral got information on binaries, models path and name, and the configuration file for speeral.
144 167  
145 168 4.2\ Speeral configurations
  169 + ---------------------------
146 170  
147 171 Speeral configuration files are in OTMEDIA_HOME/tools/Speeral/CFG directory.
148 172 The .tmp files are use to generate .xml file from install.sh.
... ... @@ -160,6 +184,21 @@
160 184 Speeral (binaries) can be compiled from the git remote git@gitlia.univ-avignon.fr:vaudriguard/libspeeral.git . Do not modify Speeral data from OTMEDIA (unless you know what you do).
161 185 In PACKAGES_MESURES_V1.0 you can update icsiboost binary (in bin) from the projet page : https://code.google.com/p/icsiboost/
162 186 For QUOTE_FINDER and SIGMUND please contact support.
  187 +
  188 +6\ Exemples
  189 +-----------
  190 +
  191 + Conventional use :
  192 + $> FirstPass.sh 110624FR2_20002100.wav /my/output/directory/ && SecondPass.sh /my/output/directory/110624FR2_20002100 && ConfPass.sh /my/output/directory/110624FR2_20002100 res_p2 && ExploitConfPass.sh /my/output/directory/110624FR2_20002100 && ConfPass.sh /my/output/directory/110624FR2_20002100 res_p3 && ThirdPass.sh /my/output/directory/110624FR2_20002100 && RecomposePass.sh /my/output/directory/110624FR2_20002100 && ScoringRes.sh /my/output/directory/110624FR2_20002100
  193 + or
  194 + $> OneScriptToRuleThemAll.sh -a 110624FR2_20002100.wav /my/output/directory/
  195 +
  196 + Rerun SecondPass and ConfPass with verbose and speeral fork to 4 :
  197 + $> SecondPass.sh -r -f 4 -v 3 /my/output/directory/110624FR2_20002100 && ConfPass.sh -r -v 3 /my/output/directory/110624FR2_20002100 res_p2
  198 + or
  199 + $> OneScriptToRuleThemAll.sh -r -2 -C 2 -v 3 -f 4 110624FR2_20002100.wav /my/output/directory/
  200 +
  201 +
163 202  
164 203 Good Luck ! Luke !
165 204 And the force be with you !
... ... @@ -194,14 +194,19 @@
194 194  
195 195 ### config lia_phon
196 196 cd $LIA_PHON_REP
  197 + make clean > /dev/null
  198 + make clean_ressource > /deV/null
197 199 make all > /dev/null
198 200 make ressource > /dev/null
199 201 ### config lia_tagg
200 202 cd $LIA_TAGG
  203 + make clean > /dev/null
  204 + make clean_ressource > /dev/null
201 205 make all > /dev/null
202 206 make ressource.french > /dev/null
203 207 ### config lia_biglex
204 208 cd $LIA_BIGLEX
  209 + make -f makefile.biglex clean > /dev/null
205 210 make -f makefile.biglex > /dev/null
206 211 cd $OTMEDIA_HOME
207 212  
... ... @@ -219,7 +224,8 @@
219 224 export LIA_NE=$OTMEDIA_HOME/tools/lia_ltbox/lia_ne_v2.2
220 225 cd $LIA_NE
221 226 mkdir $LIA_NE/bin 2> /dev/null
222   - make all
  227 + make clean > /dev/null
  228 + make all > /dev/null
223 229 cd $OTMEDIA_HOME
224 230 fi
225 231