sm-transcript 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.txt +11 -11
- data/Rakefile +2 -2
- data/lib/sm_transcript/LICENSE.txt +1 -2
- data/lib/sm_transcript/wrd_reader.rb +1 -1
- data/test/results/GardnerRileyInterview.wrd +540 -0
- data/test/test_wrdreader.rb +14 -11
- data/test/transcripts/GardnerRileyInterview.t1.html +247 -0
- data/test/transcripts/NERCOMP-SpokenMedia4.t1.html +2178 -0
- data/test/transcripts/data.js +1 -1
- data/test/transcripts/vijay_kumar-1.t1.html +1 -0
- data/test/transcripts/vijay_kumar-t1.html +1 -0
- data/test/transcripts/vijay_kumar-t1.ttml +2 -1
- data/test/transcripts/vijay_kumar.t1.html +557 -0
- data/test/transcripts/wirehair-beetle.data.js +23 -2
- metadata +18 -14
@@ -1,3 +1,24 @@
|
|
1
|
-
{
|
2
|
-
|
1
|
+
{
|
2
|
+
"locales": {
|
3
|
+
"en-US": "English (US)"
|
4
|
+
},
|
5
|
+
"videos": [
|
6
|
+
{
|
7
|
+
"audio": {
|
8
|
+
"en-US": "../audio/"
|
9
|
+
},
|
10
|
+
"transcripts": {
|
11
|
+
"en-US": "transcript.trn"
|
12
|
+
},
|
13
|
+
"duration": 523,
|
14
|
+
"speaker": "The Right Reverend Castro Mayhem",
|
15
|
+
"title": "The Song of the Wirehair Beetle",
|
16
|
+
"id": "Nimrod Olson-1004151330",
|
17
|
+
"defaultLocale": "en-US",
|
18
|
+
"height": 240,
|
19
|
+
"video": "aboriginal_hairstyling.mov",
|
20
|
+
"preview": "preview.png",
|
21
|
+
"width": 320
|
22
|
+
}
|
23
|
+
]
|
3
24
|
}
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 4
|
9
|
+
version: 0.0.4
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Peter Wilkins
|
@@ -14,11 +14,11 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-
|
17
|
+
date: 2010-04-15 00:00:00 -04:00
|
18
18
|
default_executable:
|
19
19
|
dependencies: []
|
20
20
|
|
21
|
-
description: "$Id: README.txt
|
21
|
+
description: "$Id: README.txt 194 2010-03-28 00:09:23Z pwilkins $\n\n\
|
22
22
|
sm-transcript reads results of SLS processing and produces transcripts for\n\
|
23
23
|
the SpokenMedia browser. For each file in the source folder whose extension \n\
|
24
24
|
matches the source type, a file of destination type is created in the \n\
|
@@ -35,13 +35,13 @@ description: "$Id: README.txt 187 2010-03-22 19:32:07Z pwilkins $\n\n\
|
|
35
35
|
\tYou can get sm-transcript as either a RubyGem or as source from svn.\n\
|
36
36
|
\t\n\
|
37
37
|
\tThe preferred way to install this package is as a Rubygem. You can \n\
|
38
|
-
\tdownload the gem
|
38
|
+
\tdownload and install the gem with this command: \n\
|
39
39
|
\t\n\
|
40
|
-
\
|
40
|
+
\tsudo gem install [--verbose] sm-transcript\n\
|
41
41
|
\t\n\
|
42
|
-
\
|
43
|
-
\
|
44
|
-
\
|
42
|
+
\tThis command downloads the most recent version of the gem from rubygems.org\n\
|
43
|
+
\tand makes it active. Previous versions of the gem remain installed, but \n\
|
44
|
+
\tare deactivated.\n\
|
45
45
|
\t\n\
|
46
46
|
\tYou must use \"sudo\" to properly install the gem. If you execute \"gem \n\
|
47
47
|
\tinstall\" (omitting the \"sudo\") the gem is installed in your home gem \n\
|
@@ -86,11 +86,11 @@ description: "$Id: README.txt 187 2010-03-22 19:32:07Z pwilkins $\n\n\
|
|
86
86
|
\tThis command run from this folder will read *.wrd files from bin/results\n\
|
87
87
|
\tand write *-t1.html to bin/transcripts.\n\
|
88
88
|
\t\n\
|
89
|
-
\tUsage: sm_transcript [options] \n --srcdir PATH Read files from this folder (Default: ./results)\n --destdir PATH Write files to this folder (Default: ./transcripts)\n --srctype wrd | seg Kind of file to process (Default: wrd)\n --desttype html | ttml
|
89
|
+
\tUsage: sm_transcript [options] \n --srcdir PATH Read files from this folder (Default: ./results)\n --destdir PATH Write files to this folder (Default: ./transcripts)\n --srctype wrd | seg Kind of file to process (Default: wrd)\n --desttype html | ttml | datajs Kind of file to output (Default: html)\n -h, --help Show this message\t\n\n\n\
|
90
90
|
Troubleshooting:\n\
|
91
91
|
\tsm-transcript requires additional gems to operate. The RubyGem \n\
|
92
|
-
\tinstallation
|
93
|
-
\
|
92
|
+
\tinstallation should install dependencies automatically, but when it \n\
|
93
|
+
\tdoesn't, you get an error that includes \n\
|
94
94
|
\t\n\
|
95
95
|
\t... no such file to load -- builder (LoadError)\n\
|
96
96
|
\t\n\
|
@@ -120,11 +120,11 @@ description: "$Id: README.txt 187 2010-03-22 19:32:07Z pwilkins $\n\n\
|
|
120
120
|
\t the command is already part of the core.)\n\
|
121
121
|
\thtmlentities - html parsing\n\
|
122
122
|
\tjson - create JSON structured data\n\
|
123
|
-
\toptparse - option parsing\n\
|
123
|
+
\toptparse - option parsing of command line\n\
|
124
124
|
\tostruct - open data structures\n\
|
125
125
|
\tppcommand - pp is a pretty printer. It is used only for debugging\n\
|
126
126
|
\trake - make for Ruby\n\
|
127
|
-
\trubygems - support for gems\n\
|
127
|
+
\trubygems - support for gems (shouldn't be needed for Ruby 1.9)\n\
|
128
128
|
\tshoulda - enhancement for Test::Unit\n\
|
129
129
|
\t\t\n\
|
130
130
|
\tThis command installs gems on OSX and Linux:\n\
|
@@ -168,6 +168,7 @@ files:
|
|
168
168
|
- bin/results/PLACEHOLDER.txt
|
169
169
|
- bin/transcripts/PLACEHOLDER.txt
|
170
170
|
- test/Rakefile
|
171
|
+
- test/results/GardnerRileyInterview.wrd
|
171
172
|
- test/results/IIHS_Diane_Davis_Nov2009.seg
|
172
173
|
- test/results/NERCOMP-SpokenMedia4.wrd
|
173
174
|
- test/results/PLACEHOLDER.txt
|
@@ -182,13 +183,16 @@ files:
|
|
182
183
|
- test/test_transcript.rb
|
183
184
|
- test/test_wrdreader.rb
|
184
185
|
- test/transcripts/data.js
|
186
|
+
- test/transcripts/GardnerRileyInterview.t1.html
|
185
187
|
- test/transcripts/IIHS_Diane_Davis_Nov2009-t1.html
|
188
|
+
- test/transcripts/NERCOMP-SpokenMedia4.t1.html
|
186
189
|
- test/transcripts/PLACEHOLDER.txt
|
187
190
|
- test/transcripts/vijay_kumar-1.-t1.html
|
188
191
|
- test/transcripts/vijay_kumar-1.t1.html
|
189
192
|
- test/transcripts/vijay_kumar-t1.html
|
190
193
|
- test/transcripts/vijay_kumar-t1.ttml
|
191
194
|
- test/transcripts/vijay_kumar.data.js
|
195
|
+
- test/transcripts/vijay_kumar.t1.html
|
192
196
|
- test/transcripts/wirehair-beetle.data.js
|
193
197
|
- README.txt
|
194
198
|
- LICENSE.txt
|