diarize-ruby 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/diarize-ruby.gemspec +1 -1
- data/lib/diarize/server.rb +4 -0
- data/lib/diarize/version.rb +1 -1
- data/test/server_test.rb +10 -0
- data/test/version_test.rb +1 -1
- metadata +7 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe4e7894eb287bffc0a6a79d0a9b239e9111aee7
|
4
|
+
data.tar.gz: 8dc9c7b97fddcef82a6dbcd99d631eb80609f597
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6f95d67b154afbf2797515590f616543ab65427ae1acbb095da02ba2fc6db48b70f70a1e31fc0d3dea0f34f4a19bc4c34a2bf77795988f62ce971796082ca2c
|
7
|
+
data.tar.gz: e1481384513a416e4b222e23a5625f1ec4c25566747813fbcdb37703ed4d0c5265d9dbea57b07a56f1bdb93087db5540c3d365689b416aae05fa44f0fcad17ce
|
data/CHANGELOG.md
CHANGED
data/diarize-ruby.gemspec
CHANGED
data/lib/diarize/server.rb
CHANGED
data/lib/diarize/version.rb
CHANGED
data/test/server_test.rb
CHANGED
@@ -8,4 +8,14 @@ class ServerTest < Test::Unit::TestCase
|
|
8
8
|
assert_equal Diarize::Audio, audio.class
|
9
9
|
end
|
10
10
|
|
11
|
+
def test_build_speaker_server_wrapper
|
12
|
+
server = Diarize::Server.new
|
13
|
+
# build with uri and gender
|
14
|
+
speaker = server.build_speaker("http://www.example.com", "M")
|
15
|
+
assert_equal Diarize::Speaker, speaker.class
|
16
|
+
# load from model
|
17
|
+
speaker = server.build_speaker(nil, nil, File.join(File.dirname(__FILE__), 'data', 'speaker1.gmm'))
|
18
|
+
assert_equal Diarize::Speaker, speaker.class
|
19
|
+
end
|
20
|
+
|
11
21
|
end
|
data/test/version_test.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: diarize-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yves Raimond
|
@@ -114,6 +114,9 @@ dependencies:
|
|
114
114
|
requirement: !ruby/object:Gem::Requirement
|
115
115
|
requirements:
|
116
116
|
- - "~>"
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: '2.13'
|
119
|
+
- - ">="
|
117
120
|
- !ruby/object:Gem::Version
|
118
121
|
version: 2.13.0
|
119
122
|
type: :runtime
|
@@ -121,6 +124,9 @@ dependencies:
|
|
121
124
|
version_requirements: !ruby/object:Gem::Requirement
|
122
125
|
requirements:
|
123
126
|
- - "~>"
|
127
|
+
- !ruby/object:Gem::Version
|
128
|
+
version: '2.13'
|
129
|
+
- - ">="
|
124
130
|
- !ruby/object:Gem::Version
|
125
131
|
version: 2.13.0
|
126
132
|
description: A library for Ruby wrapping the LIUM Speaker Diarization and including
|