wlapi 0.0.6 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- data/INSTALL +5 -0
- data/README +11 -5
- data/README.rdoc +22 -0
- data/Rakefile +14 -0
- data/lib/wlapi/api.rb +354 -0
- data/lib/wlapi.rb +1 -267
- data/test/test_api.rb +233 -0
- data/wlapi.gemspec +9 -7
- metadata +14 -47
- 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/example/example.rb +0 -17
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 string 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
|
-
|