wlapi 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README +1 -1
- data/wlapi.gemspec +3 -2
- metadata +9 -58
- data/doc/INSTALL.html +0 -90
- data/doc/LICENSE.html +0 -115
- data/doc/README.html +0 -119
- data/doc/WLAPI/API.html +0 -1008
- data/doc/WLAPI.html +0 -155
- data/doc/created.rid +0 -6
- data/doc/example/example_rb.html +0 -65
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +0 -131
- data/doc/js/darkfish.js +0 -116
- data/doc/js/jquery.js +0 -32
- data/doc/js/quicksearch.js +0 -114
- data/doc/js/thickbox-compressed.js +0 -10
- data/doc/lib/wlapi_rb.html +0 -59
- data/doc/rdoc.css +0 -706
data/README
CHANGED
@@ -9,7 +9,7 @@ WLAPI is a simple API for Wortschatz Leipzig project.
|
|
9
9
|
|
10
10
|
$ require 'wlapi'
|
11
11
|
$ api = WLAPI::API.new
|
12
|
-
$ api.synonyms('Haus', 15) # returns an array with
|
12
|
+
$ api.synonyms('Haus', 15) # returns an array with string values (UTF8 encoded)
|
13
13
|
|
14
14
|
See RDOC documentation for details on particular methods.
|
15
15
|
|
data/wlapi.gemspec
CHANGED
@@ -1,15 +1,16 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "wlapi"
|
3
3
|
s.summary = "Use different web services provided by the Project Wortschatz."
|
4
|
-
s.description =
|
4
|
+
s.description = "WLAPI is a programmatic API for web services provided by the projetct Wortschatz, University of Leiptzig."
|
5
5
|
s.rubyforge_project = "wlapi"
|
6
6
|
s.requirements = [ 'Using this gem requires understanding of the linguistic background behind the WL project.' ]
|
7
|
-
s.version = "0.0.
|
7
|
+
s.version = "0.0.5"
|
8
8
|
s.author = "Andrei Beliankou"
|
9
9
|
s.email = "a.belenkow@uni-trier.de"
|
10
10
|
s.homepage = "http://www.uni-trier.de/index.php?id=34451"
|
11
11
|
s.add_dependency('savon')
|
12
12
|
s.rdoc_options = ["-m", "README"]
|
13
|
+
s.extra_rdoc_files = ["README", "example/example.rb", "LICENSE"]
|
13
14
|
s.platform = Gem::Platform::RUBY
|
14
15
|
s.required_ruby_version = '>=1.8.5'
|
15
16
|
s.files = Dir['**/**']
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wlapi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 5
|
10
|
+
version: 0.0.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Andrei Beliankou
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-11-
|
18
|
+
date: 2010-11-16 00:00:00 +01:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -32,67 +32,18 @@ dependencies:
|
|
32
32
|
version: "0"
|
33
33
|
type: :runtime
|
34
34
|
version_requirements: *id001
|
35
|
-
description:
|
36
|
-
= WLAPI
|
37
|
-
|
38
|
-
* http://rubygems.org/gems/wlapi
|
39
|
-
* http://www.uni-trier.de/index.php?id=24140
|
40
|
-
|
41
|
-
== DESCRIPTION
|
42
|
-
|
43
|
-
WLAPI is a simple API for Wortschatz Leipzig project.
|
44
|
-
|
45
|
-
$ require 'wlapi'
|
46
|
-
$ api = WLAPI::API.new
|
47
|
-
$ api.synonyms('Haus', 15) # returns an array with sting values (UTF8 encoded)
|
48
|
-
|
49
|
-
See RDOC documentation for details on particular methods.
|
50
|
-
|
51
|
-
You can find some invocation examples in example/example.rb
|
52
|
-
|
35
|
+
description: WLAPI is a programmatic API for web services provided by the projetct Wortschatz, University of Leiptzig.
|
53
36
|
email: a.belenkow@uni-trier.de
|
54
37
|
executables: []
|
55
38
|
|
56
39
|
extensions: []
|
57
40
|
|
58
|
-
extra_rdoc_files:
|
59
|
-
|
41
|
+
extra_rdoc_files:
|
42
|
+
- README
|
43
|
+
- example/example.rb
|
44
|
+
- LICENSE
|
60
45
|
files:
|
61
46
|
- wlapi.gemspec
|
62
|
-
- doc/images/loadingAnimation.gif
|
63
|
-
- doc/images/wrench.png
|
64
|
-
- doc/images/brick.png
|
65
|
-
- doc/images/page_white_text.png
|
66
|
-
- doc/images/ruby.png
|
67
|
-
- doc/images/plugin.png
|
68
|
-
- doc/images/bug.png
|
69
|
-
- doc/images/bullet_toggle_minus.png
|
70
|
-
- doc/images/find.png
|
71
|
-
- doc/images/zoom.png
|
72
|
-
- doc/images/bullet_toggle_plus.png
|
73
|
-
- doc/images/date.png
|
74
|
-
- doc/images/page_white_width.png
|
75
|
-
- doc/images/tag_green.png
|
76
|
-
- doc/images/wrench_orange.png
|
77
|
-
- doc/images/macFFBgHack.png
|
78
|
-
- doc/images/package.png
|
79
|
-
- doc/images/page_green.png
|
80
|
-
- doc/images/brick_link.png
|
81
|
-
- doc/images/bullet_black.png
|
82
|
-
- doc/js/darkfish.js
|
83
|
-
- doc/js/jquery.js
|
84
|
-
- doc/js/quicksearch.js
|
85
|
-
- doc/js/thickbox-compressed.js
|
86
|
-
- doc/rdoc.css
|
87
|
-
- doc/index.html
|
88
|
-
- doc/README.html
|
89
|
-
- doc/created.rid
|
90
|
-
- doc/WLAPI.html
|
91
|
-
- doc/INSTALL.html
|
92
|
-
- doc/WLAPI/API.html
|
93
|
-
- doc/example/example_rb.html
|
94
|
-
- doc/LICENSE.html
|
95
|
-
- doc/lib/wlapi_rb.html
|
96
47
|
- INSTALL
|
97
48
|
- LICENSE
|
98
49
|
- README
|
data/doc/INSTALL.html
DELETED
@@ -1,90 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
2
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
3
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
4
|
-
|
5
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
6
|
-
<head>
|
7
|
-
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
|
8
|
-
|
9
|
-
<title>File: INSTALL [Ruby based API for Wortschatz Leipzig web services]</title>
|
10
|
-
|
11
|
-
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet" />
|
12
|
-
|
13
|
-
<script src="./js/jquery.js" type="text/javascript"
|
14
|
-
charset="utf-8"></script>
|
15
|
-
<script src="./js/thickbox-compressed.js" type="text/javascript"
|
16
|
-
charset="utf-8"></script>
|
17
|
-
<script src="./js/quicksearch.js" type="text/javascript"
|
18
|
-
charset="utf-8"></script>
|
19
|
-
<script src="./js/darkfish.js" type="text/javascript"
|
20
|
-
charset="utf-8"></script>
|
21
|
-
</head>
|
22
|
-
|
23
|
-
<body class="file">
|
24
|
-
<div id="metadata">
|
25
|
-
<div id="home-metadata">
|
26
|
-
<div id="home-section" class="section">
|
27
|
-
<h3 class="section-header">
|
28
|
-
<a href="./index.html">Home</a>
|
29
|
-
<a href="./index.html#classes">Classes</a>
|
30
|
-
<a href="./index.html#methods">Methods</a>
|
31
|
-
</h3>
|
32
|
-
</div>
|
33
|
-
</div>
|
34
|
-
|
35
|
-
<div id="project-metadata">
|
36
|
-
|
37
|
-
|
38
|
-
<div id="fileindex-section" class="section project-section">
|
39
|
-
<h3 class="section-header">Files</h3>
|
40
|
-
<ul>
|
41
|
-
|
42
|
-
<li class="file"><a href="./INSTALL.html">INSTALL</a></li>
|
43
|
-
|
44
|
-
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
|
45
|
-
|
46
|
-
<li class="file"><a href="./README.html">README</a></li>
|
47
|
-
|
48
|
-
</ul>
|
49
|
-
</div>
|
50
|
-
|
51
|
-
|
52
|
-
<div id="classindex-section" class="section project-section">
|
53
|
-
<h3 class="section-header">Class Index
|
54
|
-
<span class="search-toggle"><img src="./images/find.png"
|
55
|
-
height="16" width="16" alt="[+]"
|
56
|
-
title="show/hide quicksearch" /></span></h3>
|
57
|
-
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
|
58
|
-
<fieldset>
|
59
|
-
<legend>Quicksearch</legend>
|
60
|
-
<input type="text" name="quicksearch" value=""
|
61
|
-
class="quicksearch-field" />
|
62
|
-
</fieldset>
|
63
|
-
</form>
|
64
|
-
|
65
|
-
<ul class="link-list">
|
66
|
-
|
67
|
-
<li><a href="./WLAPI.html">WLAPI</a></li>
|
68
|
-
|
69
|
-
<li><a href="./WLAPI/API.html">WLAPI::API</a></li>
|
70
|
-
|
71
|
-
</ul>
|
72
|
-
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
|
73
|
-
</div>
|
74
|
-
|
75
|
-
|
76
|
-
</div>
|
77
|
-
</div>
|
78
|
-
|
79
|
-
<div id="documentation">
|
80
|
-
|
81
|
-
</div>
|
82
|
-
|
83
|
-
<div id="validator-badges">
|
84
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
85
|
-
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
86
|
-
Rdoc Generator</a> 1.1.6</small>.</p>
|
87
|
-
</div>
|
88
|
-
</body>
|
89
|
-
</html>
|
90
|
-
|
data/doc/LICENSE.html
DELETED
@@ -1,115 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
2
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
3
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
4
|
-
|
5
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
6
|
-
<head>
|
7
|
-
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
|
8
|
-
|
9
|
-
<title>File: LICENSE [Ruby based API for Wortschatz Leipzig web services]</title>
|
10
|
-
|
11
|
-
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet" />
|
12
|
-
|
13
|
-
<script src="./js/jquery.js" type="text/javascript"
|
14
|
-
charset="utf-8"></script>
|
15
|
-
<script src="./js/thickbox-compressed.js" type="text/javascript"
|
16
|
-
charset="utf-8"></script>
|
17
|
-
<script src="./js/quicksearch.js" type="text/javascript"
|
18
|
-
charset="utf-8"></script>
|
19
|
-
<script src="./js/darkfish.js" type="text/javascript"
|
20
|
-
charset="utf-8"></script>
|
21
|
-
</head>
|
22
|
-
|
23
|
-
<body class="file">
|
24
|
-
<div id="metadata">
|
25
|
-
<div id="home-metadata">
|
26
|
-
<div id="home-section" class="section">
|
27
|
-
<h3 class="section-header">
|
28
|
-
<a href="./index.html">Home</a>
|
29
|
-
<a href="./index.html#classes">Classes</a>
|
30
|
-
<a href="./index.html#methods">Methods</a>
|
31
|
-
</h3>
|
32
|
-
</div>
|
33
|
-
</div>
|
34
|
-
|
35
|
-
<div id="project-metadata">
|
36
|
-
|
37
|
-
|
38
|
-
<div id="fileindex-section" class="section project-section">
|
39
|
-
<h3 class="section-header">Files</h3>
|
40
|
-
<ul>
|
41
|
-
|
42
|
-
<li class="file"><a href="./INSTALL.html">INSTALL</a></li>
|
43
|
-
|
44
|
-
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
|
45
|
-
|
46
|
-
<li class="file"><a href="./README.html">README</a></li>
|
47
|
-
|
48
|
-
</ul>
|
49
|
-
</div>
|
50
|
-
|
51
|
-
|
52
|
-
<div id="classindex-section" class="section project-section">
|
53
|
-
<h3 class="section-header">Class Index
|
54
|
-
<span class="search-toggle"><img src="./images/find.png"
|
55
|
-
height="16" width="16" alt="[+]"
|
56
|
-
title="show/hide quicksearch" /></span></h3>
|
57
|
-
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
|
58
|
-
<fieldset>
|
59
|
-
<legend>Quicksearch</legend>
|
60
|
-
<input type="text" name="quicksearch" value=""
|
61
|
-
class="quicksearch-field" />
|
62
|
-
</fieldset>
|
63
|
-
</form>
|
64
|
-
|
65
|
-
<ul class="link-list">
|
66
|
-
|
67
|
-
<li><a href="./WLAPI.html">WLAPI</a></li>
|
68
|
-
|
69
|
-
<li><a href="./WLAPI/API.html">WLAPI::API</a></li>
|
70
|
-
|
71
|
-
</ul>
|
72
|
-
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
|
73
|
-
</div>
|
74
|
-
|
75
|
-
|
76
|
-
</div>
|
77
|
-
</div>
|
78
|
-
|
79
|
-
<div id="documentation">
|
80
|
-
<p>
|
81
|
-
Copyright © 2010 Andrei Beliankou, University of Trier, Germany
|
82
|
-
</p>
|
83
|
-
<p>
|
84
|
-
Permission is hereby granted, free of charge, to any person obtaining a
|
85
|
-
copy of this software and associated documentation files (the
|
86
|
-
“Software”), to deal in the Software without restriction,
|
87
|
-
including without limitation the rights to use, copy, modify, merge,
|
88
|
-
publish, distribute, sublicense, and/or sell copies of the Software, and to
|
89
|
-
permit persons to whom the Software is furnished to do so, subject to the
|
90
|
-
following conditions:
|
91
|
-
</p>
|
92
|
-
<p>
|
93
|
-
The above copyright notice and this permission notice shall be included in
|
94
|
-
all copies or substantial portions of the Software.
|
95
|
-
</p>
|
96
|
-
<p>
|
97
|
-
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND,
|
98
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
99
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
|
100
|
-
NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
101
|
-
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
102
|
-
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
|
103
|
-
USE OR OTHER DEALINGS IN THE SOFTWARE.
|
104
|
-
</p>
|
105
|
-
|
106
|
-
</div>
|
107
|
-
|
108
|
-
<div id="validator-badges">
|
109
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
110
|
-
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
111
|
-
Rdoc Generator</a> 1.1.6</small>.</p>
|
112
|
-
</div>
|
113
|
-
</body>
|
114
|
-
</html>
|
115
|
-
|
data/doc/README.html
DELETED
@@ -1,119 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
2
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
3
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
4
|
-
|
5
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
6
|
-
<head>
|
7
|
-
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
|
8
|
-
|
9
|
-
<title>File: README [Ruby based API for Wortschatz Leipzig web services]</title>
|
10
|
-
|
11
|
-
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet" />
|
12
|
-
|
13
|
-
<script src="./js/jquery.js" type="text/javascript"
|
14
|
-
charset="utf-8"></script>
|
15
|
-
<script src="./js/thickbox-compressed.js" type="text/javascript"
|
16
|
-
charset="utf-8"></script>
|
17
|
-
<script src="./js/quicksearch.js" type="text/javascript"
|
18
|
-
charset="utf-8"></script>
|
19
|
-
<script src="./js/darkfish.js" type="text/javascript"
|
20
|
-
charset="utf-8"></script>
|
21
|
-
</head>
|
22
|
-
|
23
|
-
<body class="file">
|
24
|
-
<div id="metadata">
|
25
|
-
<div id="home-metadata">
|
26
|
-
<div id="home-section" class="section">
|
27
|
-
<h3 class="section-header">
|
28
|
-
<a href="./index.html">Home</a>
|
29
|
-
<a href="./index.html#classes">Classes</a>
|
30
|
-
<a href="./index.html#methods">Methods</a>
|
31
|
-
</h3>
|
32
|
-
</div>
|
33
|
-
</div>
|
34
|
-
|
35
|
-
<div id="project-metadata">
|
36
|
-
|
37
|
-
|
38
|
-
<div id="fileindex-section" class="section project-section">
|
39
|
-
<h3 class="section-header">Files</h3>
|
40
|
-
<ul>
|
41
|
-
|
42
|
-
<li class="file"><a href="./INSTALL.html">INSTALL</a></li>
|
43
|
-
|
44
|
-
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
|
45
|
-
|
46
|
-
<li class="file"><a href="./README.html">README</a></li>
|
47
|
-
|
48
|
-
</ul>
|
49
|
-
</div>
|
50
|
-
|
51
|
-
|
52
|
-
<div id="classindex-section" class="section project-section">
|
53
|
-
<h3 class="section-header">Class Index
|
54
|
-
<span class="search-toggle"><img src="./images/find.png"
|
55
|
-
height="16" width="16" alt="[+]"
|
56
|
-
title="show/hide quicksearch" /></span></h3>
|
57
|
-
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
|
58
|
-
<fieldset>
|
59
|
-
<legend>Quicksearch</legend>
|
60
|
-
<input type="text" name="quicksearch" value=""
|
61
|
-
class="quicksearch-field" />
|
62
|
-
</fieldset>
|
63
|
-
</form>
|
64
|
-
|
65
|
-
<ul class="link-list">
|
66
|
-
|
67
|
-
<li><a href="./WLAPI.html">WLAPI</a></li>
|
68
|
-
|
69
|
-
<li><a href="./WLAPI/API.html">WLAPI::API</a></li>
|
70
|
-
|
71
|
-
</ul>
|
72
|
-
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
|
73
|
-
</div>
|
74
|
-
|
75
|
-
|
76
|
-
</div>
|
77
|
-
</div>
|
78
|
-
|
79
|
-
<div id="documentation">
|
80
|
-
<h1><a href="WLAPI.html">WLAPI</a></h1>
|
81
|
-
<ul>
|
82
|
-
<li><p>
|
83
|
-
<a href="http://rubygems.org/gems/wlapi">rubygems.org/gems/wlapi</a>
|
84
|
-
</p>
|
85
|
-
</li>
|
86
|
-
<li><p>
|
87
|
-
<a
|
88
|
-
href="http://www.uni-trier.de/index.php?id=24140">www.uni-trier.de/index.php?id=24140</a>
|
89
|
-
</p>
|
90
|
-
</li>
|
91
|
-
</ul>
|
92
|
-
<h2>DESCRIPTION</h2>
|
93
|
-
<p>
|
94
|
-
<a href="WLAPI.html">WLAPI</a> is a simple API for Wortschatz Leipzig
|
95
|
-
project.
|
96
|
-
</p>
|
97
|
-
<pre>
|
98
|
-
$ require 'wlapi'
|
99
|
-
$ api = WLAPI::API.new
|
100
|
-
$ api.synonyms('Haus', 15) # returns an array with sting values (UTF8 encoded)
|
101
|
-
</pre>
|
102
|
-
<p>
|
103
|
-
See RDOC documentation for details on particular methods.
|
104
|
-
</p>
|
105
|
-
<p>
|
106
|
-
You can find some invocation examples in <a
|
107
|
-
href="example/example_rb.html">example/example.rb</a>
|
108
|
-
</p>
|
109
|
-
|
110
|
-
</div>
|
111
|
-
|
112
|
-
<div id="validator-badges">
|
113
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
114
|
-
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
115
|
-
Rdoc Generator</a> 1.1.6</small>.</p>
|
116
|
-
</div>
|
117
|
-
</body>
|
118
|
-
</html>
|
119
|
-
|