Commit b9a54507e83742a03321b352e5cb12deaae84876
1 parent
c8737cbd9e
Exists in
master
update bugfix + readme
Showing 6 changed files with 76 additions and 11 deletions Side-by-side Diff
README
... | ... | @@ -25,9 +25,63 @@ |
25 | 25 | |
26 | 26 | DEPENDENCIES |
27 | 27 | ------------ |
28 | - | |
29 | 28 | |
29 | +GNU Toolchain | |
30 | + Available from : http://www.gnu.org | |
31 | + and debian packages | |
30 | 32 | |
33 | + Compiling, linking, and building applications. | |
34 | + | |
35 | + | |
36 | +avconv (libav-tools >= 0.8) | |
37 | + Available from : http://libav.org | |
38 | + and debian package | |
39 | + | |
40 | + avconv is a very fast video and audio converter. | |
41 | + | |
42 | +JAVA JDK and JRE ( >= 6) | |
43 | + Available from : http://www.oralce.com | |
44 | + and debian packages | |
45 | + | |
46 | + JAVA Developpment kit and JAVA runtime environment. | |
47 | + | |
48 | +Python ( >= 2.7.0) | |
49 | + Available from : http://http://www.python.org/ | |
50 | + and debian packages | |
51 | + | |
52 | + Python is a programming language. | |
53 | + | |
54 | +Perl ( >= 5.0.0) | |
55 | + Available from : http://www.perl.org/ | |
56 | + and debian packages | |
57 | + | |
58 | + Perl is a programming language. | |
59 | + | |
60 | +iconvi ( >= 2.0.0) | |
61 | + Available from : http://www.gnu.org | |
62 | + and debian package | |
63 | + | |
64 | + Character set conversion. | |
65 | + | |
66 | +csh shell (csh) | |
67 | + Available on debian packages. | |
68 | + | |
69 | + The C shell was originally written at UCB to overcome limitations in the | |
70 | + Bourne shell. Its flexibility and comfort (at that time) quickly made it | |
71 | + the shell of choice until more advanced shells like ksh, bash, zsh or | |
72 | + tcsh appeared. Most of the latter incorporate features original to csh | |
73 | + | |
74 | +The SRI Language Modeling Toolkit (SRILM >= 1.6.0) | |
75 | + Available from : http://www.speech.sri.com/projects/srilm/ | |
76 | + | |
77 | + SRILM is a toolkit for building and applying statistical language models. | |
78 | + | |
79 | +Tomcat ( >= 7.0.0) | |
80 | + Available from : http://tomcat.apache.org/ | |
81 | + and debian packages | |
82 | + | |
83 | + Apache Tomcat is an open source software implementation of the Java Servlet and JavaServer Pages technologies. | |
84 | + | |
31 | 85 | INSTALLATION |
32 | 86 | ------------ |
33 | 87 | |
34 | 88 | |
35 | 89 | |
36 | 90 | |
37 | 91 | |
38 | 92 | |
39 | 93 | |
... | ... | @@ -43,21 +97,31 @@ |
43 | 97 | $> ./install.sh |
44 | 98 | $> export OTMEDIA_HOME=path/to/OTMEDIA/directory |
45 | 99 | |
100 | + Read SOLR.INSTALL part 3/ to install SOLRDB. | |
46 | 101 | |
102 | +RUNNING | |
103 | +------- | |
104 | + | |
105 | + See HOWTO file. | |
106 | + | |
47 | 107 | ACKNOWLEDGEMENTS |
48 | 108 | ---------------- |
49 | - Many thanks to Jean-François Rey for useful help. | |
50 | 109 | |
110 | + Many thanks to Jean-François Rey for useful help and work done. | |
111 | + | |
51 | 112 | KNOWN BUGS |
52 | 113 | ---------- |
114 | + | |
53 | 115 | Many. |
54 | 116 | |
55 | 117 | COPYRIGHT |
56 | 118 | --------- |
119 | + | |
57 | 120 | See the COPYING file. |
58 | 121 | |
59 | 122 | AUTHORS |
60 | 123 | ------- |
124 | + | |
61 | 125 | Jean-François Rey <jean-francois.rey@univ-avignon.fr> |
62 | 126 | Hugo Mauchrétien <hugo.mauchretien@univ-avignon.fr> |
63 | 127 | Emmanuel Ferreira <emmanuel.ferreira@univ-avignon.fr> |
main_tools/FirstPass.sh
... | ... | @@ -346,9 +346,10 @@ |
346 | 346 | diff ${OUTPUT_DIR_BASENAME}/plp_${MODS[$i]}.lst ${OUTPUT_DIR_BASENAME}/.tmp | grep -e "^< " | sed -e "s/< //" > ${OUTPUT_DIR_BASENAME}/todo.lst |
347 | 347 | rm ${OUTPUT_DIR_BASENAME}/.tmp |
348 | 348 | # log seg to do |
349 | - print_log_file $LOGFILE "Segs not done :" | |
349 | + print_log_file $LOGFILE "Segs not done [" | |
350 | 350 | cat ${OUTPUT_DIR_BASENAME}/todo.lst >> $LOGFILE |
351 | 351 | todo=${OUTPUT_DIR_BASENAME}/todo.lst |
352 | + print_log_file $LOGFILE "] [$(date +'%d/%m/%y %H:%M:%S')]" | |
352 | 353 | print_warn "[${BASENAME}] Try $redo" 3 |
353 | 354 | fi |
354 | 355 | fi |
main_tools/SecondPass.sh
... | ... | @@ -180,7 +180,7 @@ |
180 | 180 | if [ $nbres_p1 -gt 0 ] |
181 | 181 | then |
182 | 182 | pourcentage=$((($nbtreil_p2*100)/$nbres_p1)) |
183 | - if [ $pourcentage -gt 89 ] | |
183 | + if [ $pourcentage -gt 89 ] && [ ${RERUN} -eq 0 ] | |
184 | 184 | then |
185 | 185 | print_info "[${BASENAME}] Lattice already done, skipping $BASENAME" 1 |
186 | 186 | exit 0 |
tools/scripts/CheckFirstPass.sh
... | ... | @@ -56,7 +56,7 @@ |
56 | 56 | if [ ! -e "$1" ] || [ -z "$1" ]; then return 1; fi |
57 | 57 | FILENBSEG=$(ls $2/*.seg 2>/dev/null | grep -f "$1" | wc -l) |
58 | 58 | FILENBRES=$(ls $2/*.res 2>/dev/null | grep -f "$1" | wc -l) |
59 | - #FILENBPHO=$(ls "$2/*.pho" | grep -f "$1" | wc -l) | |
59 | + #FILENBPHO=$(ls $2/*.pho | grep -f "$1" | wc -l) | |
60 | 60 | FILENB=$(cat "$1" | wc -l) |
61 | 61 | FILENBPHO=$FILENB |
62 | 62 | if [ $FILENB -ne $FILENBSEG ] || [ $FILENB -ne $FILENBRES ] || [ $FILENB -ne $FILENBPHO ] ; then return 1;fi |
tools/scripts/CheckSecondPass.sh
... | ... | @@ -20,9 +20,9 @@ |
20 | 20 | if [ $# -eq 2 ] |
21 | 21 | then |
22 | 22 | if [ ! -e "$1" ] || [ -z "$1" ]; then return 1; fi |
23 | - FILENBSEG=$(ls "$2/*.seg" 2> /dev/null | grep -f "$1" | wc -l) | |
24 | - FILENBRES=$(ls "$2/*.res" 2> /dev/null | grep -f "$1" | wc -l) | |
25 | - FILENBTREIL=$(ls "$2/*.treil" 2> /dev/null | grep -f "$1" | wc -l) | |
23 | + FILENBSEG=$(ls $2/*.seg 2>/dev/null | grep -f "$1" | wc -l) | |
24 | + FILENBRES=$(ls $2/*.res 2>/dev/null | grep -f "$1" | wc -l) | |
25 | + FILENBTREIL=$(ls $2/*.treil 2>/dev/null | grep -f "$1" | wc -l) | |
26 | 26 | FILENB=$(cat "$1" | wc -l) |
27 | 27 | if [ $FILENB -ne $FILENBSEG ] || [ $FILENB -ne $FILENBRES ] || [ $FILENB -ne $FILENBTREIL ] ; then return 1;fi |
28 | 28 | fi |
tools/scripts/CheckThirdPass.sh
... | ... | @@ -20,9 +20,9 @@ |
20 | 20 | if [ $# -eq 2 ] |
21 | 21 | then |
22 | 22 | if [ ! -e "$1" ] || [ -z "$1" ]; then return 1; fi |
23 | - FILENBSEG=$(ls "$2/*.seg" 2>/dev/null | grep -f "$1" | wc -l) | |
24 | - FILENBRES=$(ls "$2/*.res" 2>/dev/null | grep -f "$1" | wc -l) | |
25 | - FILENBTREIL=$(ls "$2/*.treil" 2>/deV/null | grep -f "$1" | wc -l) | |
23 | + FILENBSEG=$(ls $2/*.seg 2>/dev/null | grep -f "$1" | wc -l) | |
24 | + FILENBRES=$(ls $2/*.res 2>/dev/null | grep -f "$1" | wc -l) | |
25 | + FILENBTREIL=$(ls $2/*.treil 2>/deV/null | grep -f "$1" | wc -l) | |
26 | 26 | FILENB=$(cat "$1" | wc -l) |
27 | 27 | if [ $FILENB -ne $FILENBSEG ] || [ $FILENB -ne $FILENBRES ] || [ $FILENB -ne $FILENBTREIL ] ; then return 1;fi |
28 | 28 | fi |