simple_bioc 0.0.5 → 0.0.6
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.
- checksums.yaml +4 -4
- data/.gitignore +13 -0
- data/html/BioCMerger.html +748 -0
- data/html/BioCReader.html +138 -146
- data/html/BioCWriter.html +84 -131
- data/html/README_md.html +79 -100
- data/html/SimpleBioC/Annotation.html +70 -113
- data/html/SimpleBioC/Collection.html +70 -113
- data/html/SimpleBioC/Document.html +76 -119
- data/html/SimpleBioC/Location.html +70 -113
- data/html/SimpleBioC/Node.html +72 -115
- data/html/SimpleBioC/NodeBase.html +63 -108
- data/html/SimpleBioC/Passage.html +74 -117
- data/html/SimpleBioC/Relation.html +85 -115
- data/html/SimpleBioC/Sentence.html +74 -117
- data/html/SimpleBioC.html +221 -129
- data/html/created.rid +16 -15
- data/html/css/fonts.css +167 -0
- data/html/css/rdoc.css +590 -0
- data/html/fonts/Lato-Light.ttf +0 -0
- data/html/fonts/Lato-LightItalic.ttf +0 -0
- data/html/fonts/Lato-Regular.ttf +0 -0
- data/html/fonts/Lato-RegularItalic.ttf +0 -0
- data/html/fonts/SourceCodePro-Bold.ttf +0 -0
- data/html/fonts/SourceCodePro-Regular.ttf +0 -0
- data/html/index.html +71 -53
- data/html/js/darkfish.js +32 -26
- data/html/js/jquery.js +4 -18
- data/html/js/navigation.js.gz +0 -0
- data/html/js/search.js +20 -5
- data/html/js/search_index.js +1 -1
- data/html/js/search_index.js.gz +0 -0
- data/html/js/searcher.js.gz +0 -0
- data/html/table_of_contents.html +379 -136
- data/lib/simple_bioc/bioc_merger.rb +209 -0
- data/lib/simple_bioc/relation.rb +1 -1
- data/lib/simple_bioc/version.rb +1 -1
- data/lib/simple_bioc.rb +8 -4
- data/spec/file_check_spec.rb +14 -1
- data/xml/PMC2133144.xml +3 -0
- data/xml/merge/9864355.xml +1 -0
- data/xml/merge/9864355_1.xml +1 -0
- data/xml/merge/9864355_2.xml +1974 -0
- data/xml/merge/9864355_3.xml +1 -0
- data/xml/merge/output.xml +6742 -0
- metadata +21 -2
|
@@ -2,76 +2,73 @@
|
|
|
2
2
|
|
|
3
3
|
<html>
|
|
4
4
|
<head>
|
|
5
|
-
<meta
|
|
5
|
+
<meta charset="UTF-8">
|
|
6
6
|
|
|
7
7
|
<title>class SimpleBioC::Relation - RDoc Documentation</title>
|
|
8
8
|
|
|
9
|
-
<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
|
|
10
|
-
|
|
11
9
|
<script type="text/javascript">
|
|
12
10
|
var rdoc_rel_prefix = "../";
|
|
13
11
|
</script>
|
|
14
12
|
|
|
15
|
-
<script
|
|
16
|
-
<script
|
|
17
|
-
|
|
18
|
-
<
|
|
19
|
-
<
|
|
20
|
-
|
|
13
|
+
<script src="../js/jquery.js"></script>
|
|
14
|
+
<script src="../js/darkfish.js"></script>
|
|
15
|
+
|
|
16
|
+
<link href="../css/fonts.css" rel="stylesheet">
|
|
17
|
+
<link href="../css/rdoc.css" rel="stylesheet">
|
|
18
|
+
|
|
19
|
+
|
|
21
20
|
|
|
21
|
+
<body id="top" role="document" class="class">
|
|
22
|
+
<nav role="navigation">
|
|
23
|
+
<div id="project-navigation">
|
|
24
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
|
25
|
+
<h2>
|
|
26
|
+
<a href="../index.html" rel="home">Home</a>
|
|
27
|
+
</h2>
|
|
22
28
|
|
|
23
|
-
<
|
|
24
|
-
<
|
|
25
|
-
<nav id="home-section" class="section">
|
|
26
|
-
<h3 class="section-header">
|
|
27
|
-
<a href="../index.html">Home</a>
|
|
29
|
+
<div id="table-of-contents-navigation">
|
|
30
|
+
<a href="../table_of_contents.html#pages">Pages</a>
|
|
28
31
|
<a href="../table_of_contents.html#classes">Classes</a>
|
|
29
32
|
<a href="../table_of_contents.html#methods">Methods</a>
|
|
30
|
-
</
|
|
31
|
-
</
|
|
32
|
-
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
33
35
|
|
|
34
|
-
|
|
36
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
|
35
37
|
<form action="#" method="get" accept-charset="utf-8">
|
|
36
|
-
<
|
|
37
|
-
<input
|
|
38
|
+
<div id="search-field-wrapper">
|
|
39
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
|
40
|
+
aria-autocomplete="list" aria-controls="search-results"
|
|
41
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
|
38
42
|
title="Type to search, Up and Down to navigate, Enter to load">
|
|
39
|
-
</
|
|
40
|
-
</form>
|
|
43
|
+
</div>
|
|
41
44
|
|
|
42
|
-
|
|
43
|
-
|
|
45
|
+
<ul id="search-results" aria-label="Search Results"
|
|
46
|
+
aria-busy="false" aria-expanded="false"
|
|
47
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
|
48
|
+
</form>
|
|
49
|
+
</div>
|
|
44
50
|
|
|
51
|
+
</div>
|
|
45
52
|
|
|
46
53
|
|
|
47
54
|
|
|
48
|
-
<div id="file-metadata">
|
|
49
|
-
<nav id="file-list-section" class="section">
|
|
50
|
-
<h3 class="section-header">Defined In</h3>
|
|
51
|
-
<ul>
|
|
52
|
-
<li>lib/simple_bioc/relation.rb
|
|
53
|
-
</ul>
|
|
54
|
-
</nav>
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
</div>
|
|
58
|
-
|
|
59
55
|
<div id="class-metadata">
|
|
60
56
|
|
|
61
|
-
<
|
|
62
|
-
<h3
|
|
57
|
+
<div id="parent-class-section" class="nav-section">
|
|
58
|
+
<h3>Parent</h3>
|
|
59
|
+
|
|
63
60
|
|
|
64
61
|
<p class="link"><a href="NodeBase.html">SimpleBioC::NodeBase</a>
|
|
65
62
|
|
|
66
|
-
</
|
|
63
|
+
</div>
|
|
67
64
|
|
|
68
65
|
|
|
69
66
|
|
|
70
67
|
<!-- Method Quickref -->
|
|
71
|
-
<
|
|
72
|
-
<h3
|
|
68
|
+
<div id="method-list-section" class="nav-section">
|
|
69
|
+
<h3>Methods</h3>
|
|
73
70
|
|
|
74
|
-
<ul class="link-list">
|
|
71
|
+
<ul class="link-list" role="directory">
|
|
75
72
|
|
|
76
73
|
<li class="calls-super" ><a href="#method-c-new">::new</a>
|
|
77
74
|
|
|
@@ -80,62 +77,19 @@
|
|
|
80
77
|
<li ><a href="#method-i-to_c">#to_c</a>
|
|
81
78
|
|
|
82
79
|
</ul>
|
|
83
|
-
</
|
|
84
|
-
|
|
85
|
-
</div>
|
|
86
|
-
|
|
87
|
-
<div id="project-metadata">
|
|
88
|
-
<nav id="fileindex-section" class="section project-section">
|
|
89
|
-
<h3 class="section-header">Pages</h3>
|
|
90
|
-
|
|
91
|
-
<ul>
|
|
92
|
-
|
|
93
|
-
<li class="file"><a href="../README_md.html">README</a>
|
|
94
|
-
|
|
95
|
-
</ul>
|
|
96
|
-
</nav>
|
|
97
|
-
|
|
98
|
-
<nav id="classindex-section" class="section project-section">
|
|
99
|
-
<h3 class="section-header">Class and Module Index</h3>
|
|
100
|
-
|
|
101
|
-
<ul class="link-list">
|
|
102
|
-
|
|
103
|
-
<li><a href="../BioCReader.html">BioCReader</a>
|
|
104
|
-
|
|
105
|
-
<li><a href="../BioCWriter.html">BioCWriter</a>
|
|
106
|
-
|
|
107
|
-
<li><a href="../SimpleBioC.html">SimpleBioC</a>
|
|
108
|
-
|
|
109
|
-
<li><a href="../SimpleBioC/Annotation.html">SimpleBioC::Annotation</a>
|
|
110
|
-
|
|
111
|
-
<li><a href="../SimpleBioC/Collection.html">SimpleBioC::Collection</a>
|
|
112
|
-
|
|
113
|
-
<li><a href="../SimpleBioC/Document.html">SimpleBioC::Document</a>
|
|
114
|
-
|
|
115
|
-
<li><a href="../SimpleBioC/Location.html">SimpleBioC::Location</a>
|
|
116
|
-
|
|
117
|
-
<li><a href="../SimpleBioC/Node.html">SimpleBioC::Node</a>
|
|
118
|
-
|
|
119
|
-
<li><a href="../SimpleBioC/NodeBase.html">SimpleBioC::NodeBase</a>
|
|
120
|
-
|
|
121
|
-
<li><a href="../SimpleBioC/Passage.html">SimpleBioC::Passage</a>
|
|
122
|
-
|
|
123
|
-
<li><a href="../SimpleBioC/Relation.html">SimpleBioC::Relation</a>
|
|
124
|
-
|
|
125
|
-
<li><a href="../SimpleBioC/Sentence.html">SimpleBioC::Sentence</a>
|
|
126
|
-
|
|
127
|
-
</ul>
|
|
128
|
-
</nav>
|
|
80
|
+
</div>
|
|
129
81
|
|
|
130
82
|
</div>
|
|
131
83
|
</nav>
|
|
132
84
|
|
|
133
|
-
<
|
|
134
|
-
<h1
|
|
85
|
+
<main role="main" aria-labelledby="class-SimpleBioC::Relation">
|
|
86
|
+
<h1 id="class-SimpleBioC::Relation" class="class">
|
|
87
|
+
class SimpleBioC::Relation
|
|
88
|
+
</h1>
|
|
135
89
|
|
|
136
|
-
<
|
|
90
|
+
<section class="description">
|
|
137
91
|
|
|
138
|
-
</
|
|
92
|
+
</section>
|
|
139
93
|
|
|
140
94
|
|
|
141
95
|
|
|
@@ -148,9 +102,10 @@
|
|
|
148
102
|
|
|
149
103
|
|
|
150
104
|
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
105
|
+
<section class="attribute-method-details" class="method-section">
|
|
106
|
+
<header>
|
|
107
|
+
<h3>Attributes</h3>
|
|
108
|
+
</header>
|
|
154
109
|
|
|
155
110
|
|
|
156
111
|
<div id="attribute-i-nodes" class="method-detail">
|
|
@@ -166,13 +121,27 @@
|
|
|
166
121
|
</div>
|
|
167
122
|
</div>
|
|
168
123
|
|
|
169
|
-
|
|
124
|
+
<div id="attribute-i-original" class="method-detail">
|
|
125
|
+
<div class="method-heading attribute-method-heading">
|
|
126
|
+
<span class="method-name">original</span><span
|
|
127
|
+
class="attribute-access-type">[RW]</span>
|
|
128
|
+
</div>
|
|
129
|
+
|
|
130
|
+
<div class="method-description">
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
</div>
|
|
135
|
+
</div>
|
|
136
|
+
|
|
137
|
+
</section>
|
|
170
138
|
|
|
171
139
|
|
|
172
|
-
<!-- Methods -->
|
|
173
140
|
|
|
174
|
-
<section id="public-class-5Buntitled-5D-method-details" class="method-section
|
|
175
|
-
|
|
141
|
+
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
|
142
|
+
<header>
|
|
143
|
+
<h3>Public Class Methods</h3>
|
|
144
|
+
</header>
|
|
176
145
|
|
|
177
146
|
|
|
178
147
|
<div id="method-c-new" class="method-detail ">
|
|
@@ -204,20 +173,22 @@
|
|
|
204
173
|
<span class="ruby-keyword">super</span>(<span class="ruby-identifier">parent</span>)
|
|
205
174
|
<span class="ruby-ivar">@nodes</span> = []
|
|
206
175
|
<span class="ruby-keyword">end</span></pre>
|
|
207
|
-
</div
|
|
176
|
+
</div>
|
|
208
177
|
|
|
209
178
|
</div>
|
|
210
179
|
|
|
211
180
|
|
|
212
181
|
|
|
213
182
|
|
|
214
|
-
</div
|
|
183
|
+
</div>
|
|
215
184
|
|
|
216
185
|
|
|
217
|
-
</section
|
|
186
|
+
</section>
|
|
218
187
|
|
|
219
|
-
<section id="public-instance-5Buntitled-5D-method-details" class="method-section
|
|
220
|
-
|
|
188
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
|
189
|
+
<header>
|
|
190
|
+
<h3>Public Instance Methods</h3>
|
|
191
|
+
</header>
|
|
221
192
|
|
|
222
193
|
|
|
223
194
|
<div id="method-i-adjust_ref" class="method-detail ">
|
|
@@ -243,14 +214,14 @@
|
|
|
243
214
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">adjust_ref</span>
|
|
244
215
|
<span class="ruby-identifier">nodes</span>.<span class="ruby-identifier">each</span>{<span class="ruby-operator">|</span><span class="ruby-identifier">n</span><span class="ruby-operator">|</span> <span class="ruby-identifier">n</span>.<span class="ruby-identifier">adjust_ref</span>}
|
|
245
216
|
<span class="ruby-keyword">end</span></pre>
|
|
246
|
-
</div
|
|
217
|
+
</div>
|
|
247
218
|
|
|
248
219
|
</div>
|
|
249
220
|
|
|
250
221
|
|
|
251
222
|
|
|
252
223
|
|
|
253
|
-
</div
|
|
224
|
+
</div>
|
|
254
225
|
|
|
255
226
|
|
|
256
227
|
<div id="method-i-to_c" class="method-detail ">
|
|
@@ -276,26 +247,25 @@
|
|
|
276
247
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">to_c</span>
|
|
277
248
|
<span class="ruby-node">"Relation:#{id}"</span>
|
|
278
249
|
<span class="ruby-keyword">end</span></pre>
|
|
279
|
-
</div
|
|
250
|
+
</div>
|
|
280
251
|
|
|
281
252
|
</div>
|
|
282
253
|
|
|
283
254
|
|
|
284
255
|
|
|
285
256
|
|
|
286
|
-
</div
|
|
257
|
+
</div>
|
|
287
258
|
|
|
288
259
|
|
|
289
|
-
</section
|
|
260
|
+
</section>
|
|
290
261
|
|
|
291
|
-
</section
|
|
292
|
-
|
|
293
|
-
</div><!-- documentation -->
|
|
262
|
+
</section>
|
|
263
|
+
</main>
|
|
294
264
|
|
|
295
265
|
|
|
296
|
-
<footer id="validator-badges">
|
|
297
|
-
<p><a href="http://validator.w3.org/check/referer">
|
|
298
|
-
<p>Generated by <a href="
|
|
299
|
-
<p>
|
|
266
|
+
<footer id="validator-badges" role="contentinfo">
|
|
267
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
|
268
|
+
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
|
|
269
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
300
270
|
</footer>
|
|
301
271
|
|
|
@@ -2,76 +2,73 @@
|
|
|
2
2
|
|
|
3
3
|
<html>
|
|
4
4
|
<head>
|
|
5
|
-
<meta
|
|
5
|
+
<meta charset="UTF-8">
|
|
6
6
|
|
|
7
7
|
<title>class SimpleBioC::Sentence - RDoc Documentation</title>
|
|
8
8
|
|
|
9
|
-
<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
|
|
10
|
-
|
|
11
9
|
<script type="text/javascript">
|
|
12
10
|
var rdoc_rel_prefix = "../";
|
|
13
11
|
</script>
|
|
14
12
|
|
|
15
|
-
<script
|
|
16
|
-
<script
|
|
17
|
-
|
|
18
|
-
<
|
|
19
|
-
<
|
|
20
|
-
|
|
13
|
+
<script src="../js/jquery.js"></script>
|
|
14
|
+
<script src="../js/darkfish.js"></script>
|
|
15
|
+
|
|
16
|
+
<link href="../css/fonts.css" rel="stylesheet">
|
|
17
|
+
<link href="../css/rdoc.css" rel="stylesheet">
|
|
18
|
+
|
|
19
|
+
|
|
21
20
|
|
|
21
|
+
<body id="top" role="document" class="class">
|
|
22
|
+
<nav role="navigation">
|
|
23
|
+
<div id="project-navigation">
|
|
24
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
|
25
|
+
<h2>
|
|
26
|
+
<a href="../index.html" rel="home">Home</a>
|
|
27
|
+
</h2>
|
|
22
28
|
|
|
23
|
-
<
|
|
24
|
-
<
|
|
25
|
-
<nav id="home-section" class="section">
|
|
26
|
-
<h3 class="section-header">
|
|
27
|
-
<a href="../index.html">Home</a>
|
|
29
|
+
<div id="table-of-contents-navigation">
|
|
30
|
+
<a href="../table_of_contents.html#pages">Pages</a>
|
|
28
31
|
<a href="../table_of_contents.html#classes">Classes</a>
|
|
29
32
|
<a href="../table_of_contents.html#methods">Methods</a>
|
|
30
|
-
</
|
|
31
|
-
</
|
|
32
|
-
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
33
35
|
|
|
34
|
-
|
|
36
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
|
35
37
|
<form action="#" method="get" accept-charset="utf-8">
|
|
36
|
-
<
|
|
37
|
-
<input
|
|
38
|
+
<div id="search-field-wrapper">
|
|
39
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
|
40
|
+
aria-autocomplete="list" aria-controls="search-results"
|
|
41
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
|
38
42
|
title="Type to search, Up and Down to navigate, Enter to load">
|
|
39
|
-
</
|
|
40
|
-
</form>
|
|
43
|
+
</div>
|
|
41
44
|
|
|
42
|
-
|
|
43
|
-
|
|
45
|
+
<ul id="search-results" aria-label="Search Results"
|
|
46
|
+
aria-busy="false" aria-expanded="false"
|
|
47
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
|
48
|
+
</form>
|
|
49
|
+
</div>
|
|
44
50
|
|
|
51
|
+
</div>
|
|
45
52
|
|
|
46
53
|
|
|
47
54
|
|
|
48
|
-
<div id="file-metadata">
|
|
49
|
-
<nav id="file-list-section" class="section">
|
|
50
|
-
<h3 class="section-header">Defined In</h3>
|
|
51
|
-
<ul>
|
|
52
|
-
<li>lib/simple_bioc/sentence.rb
|
|
53
|
-
</ul>
|
|
54
|
-
</nav>
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
</div>
|
|
58
|
-
|
|
59
55
|
<div id="class-metadata">
|
|
60
56
|
|
|
61
|
-
<
|
|
62
|
-
<h3
|
|
57
|
+
<div id="parent-class-section" class="nav-section">
|
|
58
|
+
<h3>Parent</h3>
|
|
59
|
+
|
|
63
60
|
|
|
64
61
|
<p class="link">Object
|
|
65
62
|
|
|
66
|
-
</
|
|
63
|
+
</div>
|
|
67
64
|
|
|
68
65
|
|
|
69
66
|
|
|
70
67
|
<!-- Method Quickref -->
|
|
71
|
-
<
|
|
72
|
-
<h3
|
|
68
|
+
<div id="method-list-section" class="nav-section">
|
|
69
|
+
<h3>Methods</h3>
|
|
73
70
|
|
|
74
|
-
<ul class="link-list">
|
|
71
|
+
<ul class="link-list" role="directory">
|
|
75
72
|
|
|
76
73
|
<li ><a href="#method-c-new">::new</a>
|
|
77
74
|
|
|
@@ -82,62 +79,19 @@
|
|
|
82
79
|
<li ><a href="#method-i-to_c">#to_c</a>
|
|
83
80
|
|
|
84
81
|
</ul>
|
|
85
|
-
</
|
|
86
|
-
|
|
87
|
-
</div>
|
|
88
|
-
|
|
89
|
-
<div id="project-metadata">
|
|
90
|
-
<nav id="fileindex-section" class="section project-section">
|
|
91
|
-
<h3 class="section-header">Pages</h3>
|
|
92
|
-
|
|
93
|
-
<ul>
|
|
94
|
-
|
|
95
|
-
<li class="file"><a href="../README_md.html">README</a>
|
|
96
|
-
|
|
97
|
-
</ul>
|
|
98
|
-
</nav>
|
|
99
|
-
|
|
100
|
-
<nav id="classindex-section" class="section project-section">
|
|
101
|
-
<h3 class="section-header">Class and Module Index</h3>
|
|
102
|
-
|
|
103
|
-
<ul class="link-list">
|
|
104
|
-
|
|
105
|
-
<li><a href="../BioCReader.html">BioCReader</a>
|
|
106
|
-
|
|
107
|
-
<li><a href="../BioCWriter.html">BioCWriter</a>
|
|
108
|
-
|
|
109
|
-
<li><a href="../SimpleBioC.html">SimpleBioC</a>
|
|
110
|
-
|
|
111
|
-
<li><a href="../SimpleBioC/Annotation.html">SimpleBioC::Annotation</a>
|
|
112
|
-
|
|
113
|
-
<li><a href="../SimpleBioC/Collection.html">SimpleBioC::Collection</a>
|
|
114
|
-
|
|
115
|
-
<li><a href="../SimpleBioC/Document.html">SimpleBioC::Document</a>
|
|
116
|
-
|
|
117
|
-
<li><a href="../SimpleBioC/Location.html">SimpleBioC::Location</a>
|
|
118
|
-
|
|
119
|
-
<li><a href="../SimpleBioC/Node.html">SimpleBioC::Node</a>
|
|
120
|
-
|
|
121
|
-
<li><a href="../SimpleBioC/NodeBase.html">SimpleBioC::NodeBase</a>
|
|
122
|
-
|
|
123
|
-
<li><a href="../SimpleBioC/Passage.html">SimpleBioC::Passage</a>
|
|
124
|
-
|
|
125
|
-
<li><a href="../SimpleBioC/Relation.html">SimpleBioC::Relation</a>
|
|
126
|
-
|
|
127
|
-
<li><a href="../SimpleBioC/Sentence.html">SimpleBioC::Sentence</a>
|
|
128
|
-
|
|
129
|
-
</ul>
|
|
130
|
-
</nav>
|
|
82
|
+
</div>
|
|
131
83
|
|
|
132
84
|
</div>
|
|
133
85
|
</nav>
|
|
134
86
|
|
|
135
|
-
<
|
|
136
|
-
<h1
|
|
87
|
+
<main role="main" aria-labelledby="class-SimpleBioC::Sentence">
|
|
88
|
+
<h1 id="class-SimpleBioC::Sentence" class="class">
|
|
89
|
+
class SimpleBioC::Sentence
|
|
90
|
+
</h1>
|
|
137
91
|
|
|
138
|
-
<
|
|
92
|
+
<section class="description">
|
|
139
93
|
|
|
140
|
-
</
|
|
94
|
+
</section>
|
|
141
95
|
|
|
142
96
|
|
|
143
97
|
|
|
@@ -150,9 +104,10 @@
|
|
|
150
104
|
|
|
151
105
|
|
|
152
106
|
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
107
|
+
<section class="attribute-method-details" class="method-section">
|
|
108
|
+
<header>
|
|
109
|
+
<h3>Attributes</h3>
|
|
110
|
+
</header>
|
|
156
111
|
|
|
157
112
|
|
|
158
113
|
<div id="attribute-i-annotations" class="method-detail">
|
|
@@ -233,13 +188,14 @@
|
|
|
233
188
|
</div>
|
|
234
189
|
</div>
|
|
235
190
|
|
|
236
|
-
</section
|
|
191
|
+
</section>
|
|
237
192
|
|
|
238
193
|
|
|
239
|
-
<!-- Methods -->
|
|
240
194
|
|
|
241
|
-
<section id="public-class-5Buntitled-5D-method-details" class="method-section
|
|
242
|
-
|
|
195
|
+
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
|
196
|
+
<header>
|
|
197
|
+
<h3>Public Class Methods</h3>
|
|
198
|
+
</header>
|
|
243
199
|
|
|
244
200
|
|
|
245
201
|
<div id="method-c-new" class="method-detail ">
|
|
@@ -268,20 +224,22 @@
|
|
|
268
224
|
<span class="ruby-ivar">@relations</span> = []
|
|
269
225
|
<span class="ruby-ivar">@passage</span> = <span class="ruby-identifier">parent</span>
|
|
270
226
|
<span class="ruby-keyword">end</span></pre>
|
|
271
|
-
</div
|
|
227
|
+
</div>
|
|
272
228
|
|
|
273
229
|
</div>
|
|
274
230
|
|
|
275
231
|
|
|
276
232
|
|
|
277
233
|
|
|
278
|
-
</div
|
|
234
|
+
</div>
|
|
279
235
|
|
|
280
236
|
|
|
281
|
-
</section
|
|
237
|
+
</section>
|
|
282
238
|
|
|
283
|
-
<section id="public-instance-5Buntitled-5D-method-details" class="method-section
|
|
284
|
-
|
|
239
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
|
240
|
+
<header>
|
|
241
|
+
<h3>Public Instance Methods</h3>
|
|
242
|
+
</header>
|
|
285
243
|
|
|
286
244
|
|
|
287
245
|
<div id="method-i-each_relation" class="method-detail ">
|
|
@@ -307,14 +265,14 @@
|
|
|
307
265
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">each_relation</span>
|
|
308
266
|
<span class="ruby-identifier">relations</span>.<span class="ruby-identifier">each</span>{<span class="ruby-operator">|</span><span class="ruby-identifier">r</span><span class="ruby-operator">|</span> <span class="ruby-keyword">yield</span> <span class="ruby-identifier">r</span>}
|
|
309
267
|
<span class="ruby-keyword">end</span></pre>
|
|
310
|
-
</div
|
|
268
|
+
</div>
|
|
311
269
|
|
|
312
270
|
</div>
|
|
313
271
|
|
|
314
272
|
|
|
315
273
|
|
|
316
274
|
|
|
317
|
-
</div
|
|
275
|
+
</div>
|
|
318
276
|
|
|
319
277
|
|
|
320
278
|
<div id="method-i-find_node" class="method-detail ">
|
|
@@ -341,14 +299,14 @@
|
|
|
341
299
|
(<span class="ruby-identifier">relations</span><span class="ruby-operator">+</span><span class="ruby-identifier">annotations</span>).<span class="ruby-identifier">each</span>{<span class="ruby-operator">|</span><span class="ruby-identifier">n</span><span class="ruby-operator">|</span> <span class="ruby-keyword">return</span> <span class="ruby-identifier">n</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">n</span>.<span class="ruby-identifier">id</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">id</span>}
|
|
342
300
|
<span class="ruby-keyword">nil</span>
|
|
343
301
|
<span class="ruby-keyword">end</span></pre>
|
|
344
|
-
</div
|
|
302
|
+
</div>
|
|
345
303
|
|
|
346
304
|
</div>
|
|
347
305
|
|
|
348
306
|
|
|
349
307
|
|
|
350
308
|
|
|
351
|
-
</div
|
|
309
|
+
</div>
|
|
352
310
|
|
|
353
311
|
|
|
354
312
|
<div id="method-i-to_c" class="method-detail ">
|
|
@@ -374,26 +332,25 @@
|
|
|
374
332
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">to_c</span>
|
|
375
333
|
<span class="ruby-node">"Sentence @#{offset}: #{text}"</span>
|
|
376
334
|
<span class="ruby-keyword">end</span></pre>
|
|
377
|
-
</div
|
|
335
|
+
</div>
|
|
378
336
|
|
|
379
337
|
</div>
|
|
380
338
|
|
|
381
339
|
|
|
382
340
|
|
|
383
341
|
|
|
384
|
-
</div
|
|
342
|
+
</div>
|
|
385
343
|
|
|
386
344
|
|
|
387
|
-
</section
|
|
345
|
+
</section>
|
|
388
346
|
|
|
389
|
-
</section
|
|
390
|
-
|
|
391
|
-
</div><!-- documentation -->
|
|
347
|
+
</section>
|
|
348
|
+
</main>
|
|
392
349
|
|
|
393
350
|
|
|
394
|
-
<footer id="validator-badges">
|
|
395
|
-
<p><a href="http://validator.w3.org/check/referer">
|
|
396
|
-
<p>Generated by <a href="
|
|
397
|
-
<p>
|
|
351
|
+
<footer id="validator-badges" role="contentinfo">
|
|
352
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
|
353
|
+
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
|
|
354
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
398
355
|
</footer>
|
|
399
356
|
|