DESCRIPTION:
This authorized software is a client/server application. The client side is an HTML user interface in a web browser accessing functionality provided by the server. The server enables upload and analysis of speech records. User is able to define and manage so called "tags", which are groups of semantic related keywords. If some keyword is found in some record, the record is tagged correspondingly. This service is useful in e.g. crisis management, when it is suitable to classify phone calls according to words spoken.

DIRECTORY STRUCTURE:
mysql/ init script for MySQL database
records/ directory for uploaded records
speech_server/ the server side of the speech service (Python HTTP server)
tmp/ directory for temporary files
we_know_it/ speech recognition software and models, LSE indexer and scripts. (provided i.a. by speech@fit & Phonexia)
wwwclient/ server PHP scripts and other HTML/CSS stuff

REQUIREMENTS:
Python
Twisted framework
MySQL
Wavinfo
Sox
Speech to Text (Large vocabulary continuous speech recognition - LVCSR) tool from Phonexia - www.phonexia.com/products; for list of required files see end of this document

SETUP:
1. copy files onto your machine
2. install MySQL
 a) create DB 'weknowit'
 b) execute mysql/init_db.sql script to initialize created DB
 c) set host, database, user, password in we_know_it/__mysql.py
3. configure speech server
 a) set paths in speech_server/settings.py according to speech_server/README
4. install Speech to Text tool (LVCSR) from Phonexia into we_know_it/LSE/ and we_know_it/recognizer/ directories 
5. configure other tools
 a) set paths in we_know_it/indexer/scripts/global.sh

FILE LIST of Speech to text tool from Phonexia:
./we_know_it/LSE
./we_know_it/LSE/branches
./we_know_it/LSE/branches/LSE_2.x
./we_know_it/LSE/branches/LSE_2.x/bin
./we_know_it/LSE/branches/LSE_2.x/bin/libboost_regex.so
./we_know_it/LSE/branches/LSE_2.x/bin/a.out
./we_know_it/LSE/branches/LSE_2.x/bin/LSEsort
./we_know_it/LSE/branches/LSE_2.x/bin/copy_from_dev.sh
./we_know_it/LSE/branches/LSE_2.x/bin/LSEsearch_srv
./we_know_it/LSE/branches/LSE_2.x/bin/gmon.out
./we_know_it/LSE/branches/LSE_2.x/bin/LSEindexer
./we_know_it/recognizer
./we_know_it/recognizer/libg2c.so.0
./we_know_it/recognizer/settings
./we_know_it/recognizer/settings/rec
./we_know_it/recognizer/settings/vtln
./we_know_it/recognizer/settings/segmentation
./we_know_it/recognizer/settings/phnrec
./we_know_it/recognizer/settings/main_config
./we_know_it/recognizer/out
./we_know_it/recognizer/libatlas.so
./we_know_it/recognizer/data
./we_know_it/recognizer/data/VAD_CZ_CTS_4layer
./we_know_it/recognizer/data/VAD_CZ_CTS_4layer/configs
./we_know_it/recognizer/data/VAD_CZ_CTS_4layer/configs/hcopy_15mel_8kHz_TelBand.conf
./we_know_it/recognizer/data/VAD_CZ_CTS_4layer/net
./we_know_it/recognizer/data/VAD_CZ_CTS_4layer/net/network
./we_know_it/recognizer/data/VAD_CZ_CTS_4layer/models
./we_know_it/recognizer/data/VAD_CZ_CTS_4layer/models/MLP4_E123X_31crbe15_dct16_225_209_209_44.1state
./we_know_it/recognizer/data/VAD_CZ_CTS_4layer/models/models
./we_know_it/recognizer/data/VAD_CZ_CTS_4layer/models/readme
./we_know_it/recognizer/data/VAD_CZ_CTS_4layer/config
./we_know_it/recognizer/data/VAD_CZ_CTS_4layer/dicts
./we_know_it/recognizer/data/VAD_CZ_CTS_4layer/dicts/phonemes
./we_know_it/recognizer/data/VAD_CZ_CTS_4layer/tmp
./we_know_it/recognizer/data/LVCSR_EN-CTS
./we_know_it/recognizer/data/LVCSR_EN-CTS/phonemes
./we_know_it/recognizer/data/LVCSR_EN-CTS/phonemes/xwrd.clustered.mlist
./we_know_it/recognizer/data/LVCSR_EN-CTS/phonemes/ci_phonemes.list
./we_know_it/recognizer/data/LVCSR_EN-CTS/phonemes/ci_noinfluence_phonemes.list
./we_know_it/recognizer/data/LVCSR_EN-CTS/net
./we_know_it/recognizer/data/LVCSR_EN-CTS/net/fst_h5etrain_V0.0.50k-swbh4lm96.2gram+h4lm96_V0.0.50k-swbh4lm96.2gram.net
./we_know_it/recognizer/data/LVCSR_EN-CTS/models
./we_know_it/recognizer/data/LVCSR_EN-CTS/models/DAT
./we_know_it/recognizer/data/LVCSR_EN-CTS/models/macros
./we_know_it/recognizer/data/LVCSR_EN-CTS/models/MMF
./we_know_it/recognizer/data/LVCSR_EN-CTS/models/globvar
./we_know_it/recognizer/data/LVCSR_EN-CTS/readme
./we_know_it/recognizer/data/LVCSR_EN-CTS/config
./we_know_it/recognizer/data/LVCSR_EN-CTS/tmp
./we_know_it/recognizer/data/PHN_HU_SPDAT_LCRC_N1500
./we_know_it/recognizer/data/PHN_HU_SPDAT_LCRC_N1500/results
./we_know_it/recognizer/data/PHN_HU_SPDAT_LCRC_N1500/results/results.txt
./we_know_it/recognizer/data/PHN_HU_SPDAT_LCRC_N1500/net
./we_know_it/recognizer/data/PHN_HU_SPDAT_LCRC_N1500/weights
./we_know_it/recognizer/data/PHN_HU_SPDAT_LCRC_N1500/weights/band0.nbin
./we_know_it/recognizer/data/PHN_HU_SPDAT_LCRC_N1500/weights/band1.nbin
./we_know_it/recognizer/data/PHN_HU_SPDAT_LCRC_N1500/weights/merger.weights
./we_know_it/recognizer/data/PHN_HU_SPDAT_LCRC_N1500/weights/band1.weights
./we_know_it/recognizer/data/PHN_HU_SPDAT_LCRC_N1500/weights/merger.nbin
./we_know_it/recognizer/data/PHN_HU_SPDAT_LCRC_N1500/weights/band0.weights
./we_know_it/recognizer/data/PHN_HU_SPDAT_LCRC_N1500/windows
./we_know_it/recognizer/data/PHN_HU_SPDAT_LCRC_N1500/windows/band0.window
./we_know_it/recognizer/data/PHN_HU_SPDAT_LCRC_N1500/windows/band1.window
./we_know_it/recognizer/data/PHN_HU_SPDAT_LCRC_N1500/models
./we_know_it/recognizer/data/PHN_HU_SPDAT_LCRC_N1500/dicts
./we_know_it/recognizer/data/PHN_HU_SPDAT_LCRC_N1500/dicts/phonemes
./we_know_it/recognizer/data/PHN_HU_SPDAT_LCRC_N1500/norms
./we_know_it/recognizer/data/PHN_HU_SPDAT_LCRC_N1500/norms/band0.norms
./we_know_it/recognizer/data/PHN_HU_SPDAT_LCRC_N1500/norms/merger.norms
./we_know_it/recognizer/data/PHN_HU_SPDAT_LCRC_N1500/norms/band1.norms
./we_know_it/recognizer/data/PHN_HU_SPDAT_LCRC_N1500/tmp
./we_know_it/recognizer/data/VTLN_ENG_32G-MMI-full
./we_know_it/recognizer/data/VTLN_ENG_32G-MMI-full/example
./we_know_it/recognizer/data/VTLN_ENG_32G-MMI-full/example/run_w-segm.sh
./we_know_it/recognizer/data/VTLN_ENG_32G-MMI-full/example/configs
./we_know_it/recognizer/data/VTLN_ENG_32G-MMI-full/example/configs/hcopy_25mel_mfcc12_0.cfg
./we_know_it/recognizer/data/VTLN_ENG_32G-MMI-full/example/run.sh
./we_know_it/recognizer/data/VTLN_ENG_32G-MMI-full/net
./we_know_it/recognizer/data/VTLN_ENG_32G-MMI-full/net/network
./we_know_it/recognizer/data/VTLN_ENG_32G-MMI-full/models
./we_know_it/recognizer/data/VTLN_ENG_32G-MMI-full/models/M110.gmm
./we_know_it/recognizer/data/VTLN_ENG_32G-MMI-full/models/M093.gmm
./we_know_it/recognizer/data/VTLN_ENG_32G-MMI-full/models/M112.gmm
./we_know_it/recognizer/data/VTLN_ENG_32G-MMI-full/models/M113.gmm
./we_know_it/recognizer/data/VTLN_ENG_32G-MMI-full/models/M108.gmm
./we_know_it/recognizer/data/VTLN_ENG_32G-MMI-full/models/M088.gmm
./we_know_it/recognizer/data/VTLN_ENG_32G-MMI-full/models/M094.gmm
./we_know_it/recognizer/data/VTLN_ENG_32G-MMI-full/models/M097.gmm
./we_know_it/recognizer/data/VTLN_ENG_32G-MMI-full/models/M115.gmm
./we_know_it/recognizer/data/VTLN_ENG_32G-MMI-full/models/M099.gmm
./we_know_it/recognizer/data/VTLN_ENG_32G-MMI-full/models/M087.gmm
./we_know_it/recognizer/data/VTLN_ENG_32G-MMI-full/models/M096.gmm
./we_know_it/recognizer/data/VTLN_ENG_32G-MMI-full/models/M095.gmm
./we_know_it/recognizer/data/VTLN_ENG_32G-MMI-full/models/M085.gmm
./we_know_it/recognizer/data/VTLN_ENG_32G-MMI-full/models/M101.gmm
./we_know_it/recognizer/data/VTLN_ENG_32G-MMI-full/models/M102.gmm
./we_know_it/recognizer/data/VTLN_ENG_32G-MMI-full/models/M111.gmm
./we_know_it/recognizer/data/VTLN_ENG_32G-MMI-full/models/M103.gmm
./we_know_it/recognizer/data/VTLN_ENG_32G-MMI-full/models/M107.gmm
./we_know_it/recognizer/data/VTLN_ENG_32G-MMI-full/models/M092.gmm
./we_know_it/recognizer/data/VTLN_ENG_32G-MMI-full/models/M105.gmm
./we_know_it/recognizer/data/VTLN_ENG_32G-MMI-full/models/M098.gmm
./we_know_it/recognizer/data/VTLN_ENG_32G-MMI-full/models/M100.gmm
./we_know_it/recognizer/data/VTLN_ENG_32G-MMI-full/models/M109.gmm
./we_know_it/recognizer/data/VTLN_ENG_32G-MMI-full/models/M089.gmm
./we_know_it/recognizer/data/VTLN_ENG_32G-MMI-full/models/M106.gmm
./we_know_it/recognizer/data/VTLN_ENG_32G-MMI-full/models/macros
./we_know_it/recognizer/data/VTLN_ENG_32G-MMI-full/models/M090.gmm
./we_know_it/recognizer/data/VTLN_ENG_32G-MMI-full/models/MMF
./we_know_it/recognizer/data/VTLN_ENG_32G-MMI-full/models/M104.gmm
./we_know_it/recognizer/data/VTLN_ENG_32G-MMI-full/models/M091.gmm
./we_know_it/recognizer/data/VTLN_ENG_32G-MMI-full/config
./we_know_it/recognizer/data/VTLN_ENG_32G-MMI-full/dicts
./we_know_it/recognizer/data/VTLN_ENG_32G-MMI-full/dicts/modellist
./we_know_it/recognizer/data/VTLN_ENG_32G-MMI-full/example.vad
./we_know_it/recognizer/data/VTLN_ENG_32G-MMI-full/tmp
./we_know_it/recognizer/README.data
./we_know_it/recognizer/libbsapi.so
./we_know_it/recognizer/run_list.sh
./we_know_it/recognizer/liblapack.so
./we_know_it/recognizer/wavs.list
./we_know_it/recognizer/libcblas.so
./we_know_it/recognizer/offlinerec
./we_know_it/recognizer/run_wav.sh
./we_know_it/recognizer/readme.txt
./we_know_it/recognizer/libf77blas.so
