mas01cr@0
|
1 package "audioDB"
|
mas01mj@566
|
2 version "version 0.8.preview ($Revision$)"
|
mas01cr@0
|
3 purpose "A feature vector database management system for content-based retrieval."
|
mas01cr@345
|
4
|
mas01cr@0
|
5 option "verbosity" v "level of detail of operational information." int typestr="detail" default="1" optional
|
mas01cr@0
|
6 text "\nDatabase commands are UPPER CASE. Command options are lower case.\n"
|
mas01cr@0
|
7 text ""
|
mas01cr@256
|
8 section "Database Operations" sectiondesc="All database operations require a database argument."
|
mas01cr@0
|
9
|
mas01cr@0
|
10 option "database" d "database file required by Database commands." string typestr="filename" optional
|
mas01mc@328
|
11 option "adb_root" - "path prefix for database" string typestr="path" optional
|
mas01cr@256
|
12
|
mas01cr@256
|
13 section "Database Creation" sectiondesc="Creating a new database file."
|
mas01cr@256
|
14
|
mas01cr@0
|
15 option "NEW" N "make a new (initially empty) database." dependon="database" optional
|
mas01cr@256
|
16 option "size" - "size of database file (in MB)" int dependon="NEW" optional hidden
|
mas01cr@256
|
17 option "datasize" - "size of data table requested (in MB)" int dependon="NEW" default="1355" optional
|
mas01cr@256
|
18 option "ntracks" - "capacity of database for tracks" int dependon="NEW" default="20000" optional
|
mas01cr@256
|
19 option "datadim" - "dimensionality of stored data" int dependon="NEW" default="9" optional
|
mas01cr@256
|
20
|
mas01cr@280
|
21 section "Database Maintenance" sectiondesc="Tweaking and dumping databases."
|
mas01cr@256
|
22
|
mas01cr@0
|
23 option "DUMP" D "output all entries: index key size." dependon="database" optional
|
mas01cr@131
|
24 option "output" - "output directory" string dependon="DUMP" default="audioDB.dump" optional
|
mas01cr@0
|
25 option "L2NORM" L "unit norm vectors and norm all future inserts." dependon="database" optional
|
mas01cr@193
|
26 option "POWER" P "turn on power flag for database." dependon="database" optional
|
mas01mc@334
|
27 option "LISZT" Z "LIst keyS and siZes of Tracks" dependon="database" optional
|
mas01mc@334
|
28 option "lisztOffset" - "LISZT track offset (0-based index)" int typestr="number" default="0" dependon="LISZT" optional
|
mas01mc@334
|
29 option "lisztLength" - "number of LISZT items to return" int typestr="number" default="32" dependon="LISZT" optional
|
mas01mc@324
|
30
|
mas01cr@280
|
31 section "Database Information" sectiondesc="Information about databases."
|
mas01cr@280
|
32
|
mas01cr@280
|
33 option "STATUS" S "output database information to stdout." dependon="database" optional
|
mas01cr@288
|
34 option "SAMPLE" - "sample statistics for database." dependon="database" optional
|
mas01cr@280
|
35 option "nsamples" - "number of pairwise samples to take." dependon="SAMPLE" int typestr="number" default="2000" optional
|
mas01cr@280
|
36
|
mas01cr@0
|
37 section "Database Insertion" sectiondesc="The following commands insert feature files, with optional keys and timestamps.\n"
|
mas01cr@280
|
38
|
mas01cr@9
|
39 option "INSERT" I "add feature vectors to an existing database." dependon="features" optional
|
mas01mc@324
|
40 option "adb_feature_root" - "path prefix for feature files, times files and power files" string typestr="path" optional
|
mas01cr@0
|
41 option "features" f "binary series of vectors file {int sz:ieee double[][sz]:eof}." string typestr="filename" dependon="database" optional
|
mas01cr@0
|
42 option "times" t "list of time points (ascii) for feature vectors." string typestr="filename" dependon="features" optional
|
mas01cr@193
|
43 option "power" w "binary power feature file." string typestr="filename" dependon="database" optional
|
mas01mc@292
|
44 option "key" k "unique identifier associated with features." string typestr="identifier" optional
|
mas01cr@0
|
45 text ""
|
mas01cr@0
|
46 option "BATCHINSERT" B "add feature vectors named in a --featureList file (with optional keys in a --keyList file) to the named database." dependon="featureList" optional
|
mas01mc@18
|
47 option "featureList" F "text file containing list of binary feature vector files to process, one per track" string typestr="filename" dependon="database" optional
|
mas01cr@0
|
48 option "timesList" T "text file containing list of ascii --times for each --features file in --featureList." string typestr="filename" dependon="featureList" optional
|
mas01cr@193
|
49 option "powerList" W "text file containing list of binary power feature file." string typestr="filename" dependon="database" optional
|
mas01cr@0
|
50 option "keyList" K "text file containing list of unique identifiers associated with --features." string typestr="filename" optional
|
mas01cr@0
|
51
|
mas01mc@292
|
52 section "Database Search" sectiondesc="These commands control the retrieval behaviour.\n"
|
mas01cr@280
|
53
|
mas01mc@292
|
54 option "QUERY" Q "content-based search on --database using --features as a query. Optionally restrict the search to those tracks identified in a --keyList." values="point","track","sequence","nsequence","onetoonensequence" typestr="searchtype" dependon="database" optional
|
mas01cr@0
|
55 option "qpoint" p "ordinal position of query start point in --features file." int typestr="position" default="0" optional
|
mas01cr@345
|
56 option "exhaustive" e "exhaustive search: iterate through all query vectors in search. Overrides --qpoint." flag off hidden
|
mas01cr@0
|
57 option "pointnn" n "number of point nearest neighbours to use in retrieval." int typestr="numpoints" default="10" optional
|
mas01mc@19
|
58 option "radius" R "radius search, returns all points/tracks/sequences inside given radius. (Overrides --pointnn)." double default="1.0" optional
|
mas01cr@0
|
59 option "expandfactor" x "time compress/expand factor of result length to query length [1.0 .. 100.0]." double default="1.1" optional hidden
|
mas01cr@345
|
60 option "rotate" o "rotate query vectors for rotationally invariant search." flag off hidden
|
mas01cr@0
|
61 option "resultlength" r "maximum length of the result list." int typestr="length" default="10" optional
|
mas01mc@292
|
62 option "sequencelength" l "length of sequences for sequence search." int typestr="length" default="16" optional
|
mas01cr@347
|
63 option "sequencehop" - "hop size of sequence window for sequence search." int typestr="hop" default="1" optional
|
mas01mc@292
|
64 option "absolute-threshold" - "absolute power threshold for consideration of query or target sequence (in Bels)" double optional
|
mas01cr@193
|
65 option "relative-threshold" - "relative power threshold between query and target sequence (in Bels)" double dependon="QUERY" optional
|
mas01cr@0
|
66
|
mas01mc@292
|
67 section "Locality-sensitive hashing (LSH) parameters" sectiondesc="These parameters control LSH indexing and retrieval\n"
|
mas01mc@292
|
68
|
mas01mc@337
|
69 option "INDEX" X "build an index for -d database at -R radius and -l sequenceLength" dependon="radius" optional
|
mas01mc@292
|
70 option "lsh_w" - "width of LSH hash-function bins. " double default="4.0" dependon="INDEX" optional hidden
|
mas01mc@292
|
71 option "lsh_k" - "even number of independent hash functions to employ with LSH" int typestr="size" default="8" dependon="INDEX" optional
|
mas01mc@292
|
72 option "lsh_m" - "number of hash tables is m(m-1)/2" int typestr="size" default="5" dependon="INDEX" optional
|
mas01mc@292
|
73 option "lsh_N" - "number of rows per hash tables" int typestr="size" default="100000" dependon="INDEX" optional
|
mas01mc@292
|
74 option "lsh_b" - "number of tracks per indexing iteration" int typestr="size" default="500" dependon="INDEX" optional
|
mas01mc@307
|
75 option "lsh_ncols" - "number of columns (collisions) to allocate for FORMAT1 LSH serialization" int typestr="size" default="250" dependon="INDEX" optional hidden
|
mas01cr@345
|
76 option "lsh_exact" - "use exact evaluation of points retrieved by LSH." flag off dependon="QUERY"
|
mas01cr@345
|
77 option "lsh_on_disk" - "Construct LSH hash tables for on-disk query (INDEX/QUERY)" flag off
|
mas01cr@345
|
78 option "lsh_use_u_functions" - "use m independent hash functions combinatorically to approximate L independent hash functions." flag off
|
mas01mc@292
|
79
|
mas01mc@292
|
80 section "Normalization control parameters" sectiondesc="These parameters control the normalization of feaures at query time\n"
|
mas01mc@292
|
81
|
mas01cr@345
|
82 option "no_unit_norming" - "do not unit norm features when querying an L2Norm databases." flag off
|
mas01mc@768
|
83 option "distance_kullback" - "use symmetric kullback divergence for distance function" flag off
|
mas01mc@292
|
84
|
mas01cr@0
|
85 section "Web Services" sectiondesc="These commands enable the database process to establish a connection via the internet and operate as separate client and server processes.\n"
|
mas01mc@292
|
86
|
mas01cr@64
|
87 option "SERVER" s "run as standalone web service on named port." int typestr="port" default="14475" optional
|
mas01cr@345
|
88 option "load_index" - "make web service with memory-resident hashtables" flag off dependon="radius"
|
mas01cr@0
|
89 option "client" c "run as a client using named host service." string typestr="hostname:port" optional
|
mas01mc@324
|
90
|
mas01cr@0
|
91
|
mas01cr@245
|
92 text "
|
mas01mc@324
|
93 Copyright (c) 2007-2008 Michael Casey, Christophe Rhodes
|
mas01mc@292
|
94 Goldsmiths, University of London"
|