mergectm2rttm.html
4.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:root@localhost" />
</head>
<body>
<ul id="index">
<li><a href="#NAME">NAME</a></li>
<li><a href="#SYNOPSIS">SYNOPSIS</a></li>
<li><a href="#DESCRIPTION">DESCRIPTION</a></li>
<li><a href="#USAGE">USAGE</a></li>
<li><a href="#OPTIONS">OPTIONS</a></li>
<li><a href="#BUGS">BUGS</a></li>
<li><a href="#NOTES">NOTES</a></li>
<li><a href="#AUTHORS">AUTHORS</a></li>
<li><a href="#COPYRIGHT">COPYRIGHT</a></li>
<li><a href="#DISCLAIMER">DISCLAIMER</a></li>
<li><a href="#POD-ERRORS">POD ERRORS</a></li>
</ul>
<h1 id="NAME">NAME</h1>
<p>mergectm2rttm.pl - Script that generate a RTTM file by merging CTM and RTTM.</p>
<h1 id="SYNOPSIS">SYNOPSIS</h1>
<pre><code> mergectm2rttm.pl -r rttmfile -c ctmfile [ -p pathtools ]</code></pre>
<h1 id="DESCRIPTION">DESCRIPTION</h1>
<p>The script is a script which merged a ctm file and a rttm file to produce a rttm file. It takes in input a ctm file containing the lexemes information and a rttm file containing the speakers and segments information. It associates the lexemes and speakers present in the ctm according to the segments definitions from the rttm file (by segment definition, it means time intervals, filename and channel).</p>
<h1 id="USAGE">USAGE</h1>
<p>Examples:</p>
<pre><code> align2html-main.pl -r file.rttm -c file.ctm > mergedfile.rttm</code></pre>
<h1 id="OPTIONS">OPTIONS</h1>
<dl>
<dt id="Required-file-arguments"><b>Required file arguments:</b></dt>
<dd>
<dl>
<dt id="r---rttmfile-rttmfile"><b>-r</b>, <b>--rttmfile <rttmfile</b>></dt>
<dd>
<p>Path to the RTTM file.</p>
</dd>
<dt id="c---ctmfile-ctmfile"><b>-c</b>, <b>--ctmfile <ctmfile</b>></dt>
<dd>
<p>Path to the CTM file.</p>
</dd>
</dl>
</dd>
<dt id="Options"><b>Options:</b></dt>
<dd>
<dl>
<dt id="p---pathtools-path"><b>-p</b>,<b>--pathtools <path</b>></dt>
<dd>
<p>Path of the tools.</p>
</dd>
</dl>
</dd>
<dt id="Other-options"><b>Other options:</b></dt>
<dd>
<dl>
<dt id="h---help"><b>-h</b>, <b>--help</b></dt>
<dd>
<p>Display the help.</p>
</dd>
</dl>
</dd>
</dl>
<h1 id="BUGS">BUGS</h1>
<p>No known bugs.</p>
<h1 id="NOTES">NOTES</h1>
<p>As the script requires two other scripts: rttmSmooth.pl and rttmSort.pl, the path of the SCTK tools directory can be specified on the commandline using the '-p' option.</p>
<p>The script checks if the two scripts are present and run the merging process. To avoid any complication, there are 3 options to run the script: (a) Run the script into its directory without the -p option, (b) Run the script from any location by specifying the path with -p and the path of the SCTK tools directory (.../stck/src/), (c) Edit the mergectm2rttm.pl line at line 184 and 185 to give the locations of the two scripts.</p>
<p>The resulting rttm file is displayed in the standard output (STDOUT), by doing the redirection '>', it can be stored into a file.</p>
<h1 id="AUTHORS">AUTHORS</h1>
<dl>
<dt id="Jerome-Ajot-jerome.ajot-nist.gov">Jerome Ajot <jerome.ajot@nist.gov></dt>
<dd>
</dd>
</dl>
<h1 id="COPYRIGHT">COPYRIGHT</h1>
<p>NIST Public Domain</p>
<h1 id="DISCLAIMER">DISCLAIMER</h1>
<p>This software was developed at the National Institute of Standards and Technology by employees of the Federal Government in the course of their official duties. Pursuant to Title 17 Section 105 of the United States Code this software is not subject to copyright protection within the United States and is in the public domain. This software is an experimental system. NIST assumes no responsibility whatsoever for its use by any party.</p>
<p>THIS SOFTWARE IS PROVIDED "AS IS." With regard to this software, NIST MAKES NO EXPRESS OR IMPLIED WARRANTY AS TO ANY MATTER WHATSOEVER, INCLUDING MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.</p>
<h1 id="POD-ERRORS">POD ERRORS</h1>
<p>Hey! <b>The above document had some coding errors, which are explained below:</b></p>
<dl>
<dt id="Around-line-55">Around line 55:</dt>
<dd>
<p>You forgot a '=back' before '=head1'</p>
<p>You forgot a '=back' before '=head1'</p>
</dd>
<dt id="Around-line-73">Around line 73:</dt>
<dd>
<p>'=item' outside of any '=over'</p>
</dd>
<dt id="Around-line-75">Around line 75:</dt>
<dd>
<p>You forgot a '=back' before '=head1'</p>
</dd>
</dl>
</body>
</html>