simple_bioc 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- 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
data/html/README_md.html
CHANGED
@@ -2,116 +2,90 @@
|
|
2
2
|
|
3
3
|
<html>
|
4
4
|
<head>
|
5
|
-
<meta
|
5
|
+
<meta charset="UTF-8">
|
6
6
|
|
7
7
|
<title>README - 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
|
+
|
21
19
|
|
22
20
|
|
23
|
-
<body class="file">
|
24
|
-
<nav
|
25
|
-
<
|
26
|
-
|
27
|
-
|
21
|
+
<body id="top" role="document" class="file">
|
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>
|
28
|
+
|
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
|
-
<div
|
48
|
-
<
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
</nav>
|
54
|
+
<div class="nav-section">
|
55
|
+
<h3>Table of Contents</h3>
|
56
|
+
|
57
|
+
<ul class="link-list" role="directory">
|
58
|
+
<li><a href="#label-SimpleBioC">SimpleBioC</a>
|
59
|
+
<li><a href="#label-Feature-3A">Feature:</a>
|
60
|
+
<li><a href="#label-Installation">Installation</a>
|
61
|
+
<li><a href="#label-Simple+Usages">Simple Usages</a>
|
62
|
+
<li><a href="#label-Options">Options</a>
|
63
|
+
<li><a href="#label-Specify+set+of+-3Cdocument-3Es+to+parse">Specify set of <document>s to parse</a>
|
64
|
+
<li><a href="#label-No+whitespace+in+output">No whitespace in output</a>
|
65
|
+
<li><a href="#label-Sample">Sample</a>
|
66
|
+
<li><a href="#label-Contributing">Contributing</a>
|
67
|
+
<li><a href="#label-LICENSE">LICENSE</a>
|
68
|
+
</ul>
|
63
69
|
</div>
|
64
70
|
|
65
71
|
|
66
72
|
<div id="project-metadata">
|
67
|
-
<
|
68
|
-
<h3
|
69
|
-
|
70
|
-
<ul>
|
71
|
-
|
72
|
-
<li class="file"><a href="./README_md.html">README</a>
|
73
|
-
|
74
|
-
</ul>
|
75
|
-
</nav>
|
76
|
-
|
77
|
-
<nav id="classindex-section" class="section project-section">
|
78
|
-
<h3 class="section-header">Class and Module Index</h3>
|
73
|
+
<div id="fileindex-section" class="nav-section">
|
74
|
+
<h3>Pages</h3>
|
79
75
|
|
80
76
|
<ul class="link-list">
|
81
77
|
|
82
|
-
<li><a href="./
|
83
|
-
|
84
|
-
<li><a href="./BioCWriter.html">BioCWriter</a>
|
85
|
-
|
86
|
-
<li><a href="./SimpleBioC.html">SimpleBioC</a>
|
87
|
-
|
88
|
-
<li><a href="./SimpleBioC/Annotation.html">SimpleBioC::Annotation</a>
|
89
|
-
|
90
|
-
<li><a href="./SimpleBioC/Collection.html">SimpleBioC::Collection</a>
|
91
|
-
|
92
|
-
<li><a href="./SimpleBioC/Document.html">SimpleBioC::Document</a>
|
93
|
-
|
94
|
-
<li><a href="./SimpleBioC/Location.html">SimpleBioC::Location</a>
|
95
|
-
|
96
|
-
<li><a href="./SimpleBioC/Node.html">SimpleBioC::Node</a>
|
97
|
-
|
98
|
-
<li><a href="./SimpleBioC/NodeBase.html">SimpleBioC::NodeBase</a>
|
99
|
-
|
100
|
-
<li><a href="./SimpleBioC/Passage.html">SimpleBioC::Passage</a>
|
101
|
-
|
102
|
-
<li><a href="./SimpleBioC/Relation.html">SimpleBioC::Relation</a>
|
103
|
-
|
104
|
-
<li><a href="./SimpleBioC/Sentence.html">SimpleBioC::Sentence</a>
|
78
|
+
<li><a href="./README_md.html">README</a>
|
105
79
|
|
106
80
|
</ul>
|
107
|
-
</
|
81
|
+
</div>
|
108
82
|
|
109
83
|
</div>
|
110
84
|
</nav>
|
111
85
|
|
112
|
-
<
|
113
|
-
|
114
|
-
<h1 id="label-SimpleBioC"><a href="SimpleBioC.html">SimpleBioC</a><span><a href="#label-SimpleBioC">¶</a> <a href="#
|
86
|
+
<main role="main" aria-label="Page README.md">
|
87
|
+
|
88
|
+
<h1 id="label-SimpleBioC"><a href="SimpleBioC.html">SimpleBioC</a><span><a href="#label-SimpleBioC">¶</a> <a href="#top">↑</a></span></h1>
|
115
89
|
|
116
90
|
<p><a href="SimpleBioC.html">SimpleBioC</a> is a simple parser / builder for
|
117
91
|
BioC data format. BioC is a simple XML format to share text documents and
|
@@ -119,7 +93,7 @@ annotations. You can find more information about BioC from the official
|
|
119
93
|
BioC web site (<a
|
120
94
|
href="http://www.ncbi.nlm.nih.gov/CBBresearch/Dogan/BioC/">www.ncbi.nlm.nih.gov/CBBresearch/Dogan/BioC/</a>)</p>
|
121
95
|
|
122
|
-
<h2 id="label-Feature
|
96
|
+
<h2 id="label-Feature-3A">Feature:<span><a href="#label-Feature-3A">¶</a> <a href="#top">↑</a></span></h2>
|
123
97
|
<ul><li>
|
124
98
|
<p>Parse & convert a BioC document to an object instance compatible to
|
125
99
|
BioC DTD</p>
|
@@ -129,11 +103,12 @@ BioC DTD</p>
|
|
129
103
|
<p>Build a BioC document from an object instance</p>
|
130
104
|
</li></ul>
|
131
105
|
|
132
|
-
<h2 id="label-Installation">Installation<span><a href="#label-Installation">¶</a> <a href="#
|
106
|
+
<h2 id="label-Installation">Installation<span><a href="#label-Installation">¶</a> <a href="#top">↑</a></span></h2>
|
133
107
|
|
134
108
|
<p>Add this line to your application's Gemfile:</p>
|
135
109
|
|
136
|
-
<pre>gem
|
110
|
+
<pre class="ruby"><span class="ruby-identifier">gem</span> <span class="ruby-string">'simple_bioc'</span>
|
111
|
+
</pre>
|
137
112
|
|
138
113
|
<p>And then execute:</p>
|
139
114
|
|
@@ -143,7 +118,7 @@ BioC DTD</p>
|
|
143
118
|
|
144
119
|
<pre>$ gem install simple_bioc</pre>
|
145
120
|
|
146
|
-
<h2 id="label-Simple+Usages">Simple Usages<span><a href="#label-Simple+Usages">¶</a> <a href="#
|
121
|
+
<h2 id="label-Simple+Usages">Simple Usages<span><a href="#label-Simple+Usages">¶</a> <a href="#top">↑</a></span></h2>
|
147
122
|
|
148
123
|
<p>Include library</p>
|
149
124
|
|
@@ -152,7 +127,8 @@ BioC DTD</p>
|
|
152
127
|
|
153
128
|
<p>Parse with a file name (path)</p>
|
154
129
|
|
155
|
-
<pre>collection = SimpleBioC
|
130
|
+
<pre class="ruby"><span class="ruby-identifier">collection</span> = <span class="ruby-constant">SimpleBioC</span><span class="ruby-operator">::</span><span class="ruby-identifier">from_xml</span>(<span class="ruby-identifier">filename</span>)
|
131
|
+
</pre>
|
156
132
|
|
157
133
|
<p>Traverse & Manipulate Data. Data structure are almost the same as the
|
158
134
|
DTD. Please refer <a
|
@@ -161,32 +137,36 @@ documents</a> and <a
|
|
161
137
|
href="http://www.ncbi.nlm.nih.gov/CBBresearch/Dogan/BioC/BioCDTD.html">the
|
162
138
|
BioC DTD</a>.</p>
|
163
139
|
|
164
|
-
<pre>puts collection
|
140
|
+
<pre class="ruby"><span class="ruby-identifier">puts</span> <span class="ruby-identifier">collection</span>.<span class="ruby-identifier">documents</span>[<span class="ruby-value">2</span>].<span class="ruby-identifier">passages</span>[<span class="ruby-value">0</span>].<span class="ruby-identifier">text</span>
|
141
|
+
</pre>
|
165
142
|
|
166
143
|
<p>Build XML text from data</p>
|
167
144
|
|
168
|
-
<pre>puts SimpleBioC
|
145
|
+
<pre class="ruby"><span class="ruby-identifier">puts</span> <span class="ruby-constant">SimpleBioC</span><span class="ruby-operator">::</span><span class="ruby-identifier">to_xml</span>(<span class="ruby-identifier">collection</span>)
|
146
|
+
</pre>
|
169
147
|
|
170
|
-
<h2 id="label-Options">Options<span><a href="#label-Options">¶</a> <a href="#
|
148
|
+
<h2 id="label-Options">Options<span><a href="#label-Options">¶</a> <a href="#top">↑</a></span></h2>
|
171
149
|
|
172
|
-
<h3 id="label-Specify+set+of
|
150
|
+
<h3 id="label-Specify+set+of+-3Cdocument-3Es+to+parse">Specify set of <document>s to parse<span><a href="#label-Specify+set+of+-3Cdocument-3Es+to+parse">¶</a> <a href="#top">↑</a></span></h3>
|
173
151
|
|
174
152
|
<p>You can parse only a set of document elements in a large xml document
|
175
153
|
instead of parsing all the document elements. It may decrease the
|
176
154
|
processing time. For example, the following code will return a collection
|
177
155
|
with two documents (“1234”, “4567”).</p>
|
178
156
|
|
179
|
-
<pre>collection = SimpleBioc
|
157
|
+
<pre class="ruby"><span class="ruby-identifier">collection</span> = <span class="ruby-constant">SimpleBioc</span><span class="ruby-operator">::</span><span class="ruby-identifier">from_xml</span>(<span class="ruby-identifier">filename</span>, {<span class="ruby-identifier">documents</span><span class="ruby-operator">:</span> [<span class="ruby-string">"1234"</span>, <span class="ruby-string">"4567"</span>]})
|
158
|
+
</pre>
|
180
159
|
|
181
|
-
<h3 id="label-No+whitespace+in+output">No whitespace in output<span><a href="#label-No+whitespace+in+output">¶</a> <a href="#
|
160
|
+
<h3 id="label-No+whitespace+in+output">No whitespace in output<span><a href="#label-No+whitespace+in+output">¶</a> <a href="#top">↑</a></span></h3>
|
182
161
|
|
183
162
|
<p>By default, outputs of SimpleBioC::to_xml() will be formatted with
|
184
163
|
whitespace. If you do not want this whitespace, you should pass
|
185
164
|
'save_with' option with 0 to the to_xml() function.</p>
|
186
165
|
|
187
|
-
<pre>puts SimpleBioC
|
166
|
+
<pre class="ruby"><span class="ruby-identifier">puts</span> <span class="ruby-constant">SimpleBioC</span><span class="ruby-operator">::</span><span class="ruby-identifier">to_xml</span>(<span class="ruby-identifier">collection</span>, {<span class="ruby-identifier">save_with</span>:<span class="ruby-value">0</span>})
|
167
|
+
</pre>
|
188
168
|
|
189
|
-
<h2 id="label-Sample">Sample<span><a href="#label-Sample">¶</a> <a href="#
|
169
|
+
<h2 id="label-Sample">Sample<span><a href="#label-Sample">¶</a> <a href="#top">↑</a></span></h2>
|
190
170
|
|
191
171
|
<p>More samples can be found in Samples directory</p>
|
192
172
|
|
@@ -225,7 +205,7 @@ whitespace. If you do not want this whitespace, you should pass
|
|
225
205
|
<span class="ruby-identifier">puts</span> <span class="ruby-identifier">xml</span>
|
226
206
|
</pre>
|
227
207
|
|
228
|
-
<h2 id="label-Contributing">Contributing<span><a href="#label-Contributing">¶</a> <a href="#
|
208
|
+
<h2 id="label-Contributing">Contributing<span><a href="#label-Contributing">¶</a> <a href="#top">↑</a></span></h2>
|
229
209
|
<ol><li>
|
230
210
|
<p>Fork it</p>
|
231
211
|
</li><li>
|
@@ -239,19 +219,18 @@ feature'</code>)</p>
|
|
239
219
|
<p>Create new Pull Request</p>
|
240
220
|
</li></ol>
|
241
221
|
|
242
|
-
<h2 id="label-LICENSE">LICENSE<span><a href="#label-LICENSE">¶</a> <a href="#
|
222
|
+
<h2 id="label-LICENSE">LICENSE<span><a href="#label-LICENSE">¶</a> <a href="#top">↑</a></span></h2>
|
243
223
|
|
244
224
|
<p>Copyright © 2013, Dongseop Kwon</p>
|
245
225
|
|
246
226
|
<p>Released under the MIT License.</p>
|
247
|
-
|
248
|
-
</div>
|
227
|
+
</main>
|
249
228
|
|
250
229
|
|
251
230
|
|
252
|
-
<footer id="validator-badges">
|
253
|
-
<p><a href="http://validator.w3.org/check/referer">
|
254
|
-
<p>Generated by <a href="
|
255
|
-
<p>
|
231
|
+
<footer id="validator-badges" role="contentinfo">
|
232
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
233
|
+
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
|
234
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
256
235
|
</footer>
|
257
236
|
|
@@ -2,138 +2,92 @@
|
|
2
2
|
|
3
3
|
<html>
|
4
4
|
<head>
|
5
|
-
<meta
|
5
|
+
<meta charset="UTF-8">
|
6
6
|
|
7
7
|
<title>class SimpleBioC::Annotation - 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
|
+
|
21
19
|
|
22
20
|
|
23
|
-
<body id="top" class="class">
|
24
|
-
<nav
|
25
|
-
<
|
26
|
-
|
27
|
-
|
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>
|
28
|
+
|
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/annotation.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">NodeBase
|
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
|
|
78
75
|
<li ><a href="#method-i-to_s">#to_s</a>
|
79
76
|
|
80
77
|
</ul>
|
81
|
-
</
|
82
|
-
|
83
|
-
</div>
|
84
|
-
|
85
|
-
<div id="project-metadata">
|
86
|
-
<nav id="fileindex-section" class="section project-section">
|
87
|
-
<h3 class="section-header">Pages</h3>
|
88
|
-
|
89
|
-
<ul>
|
90
|
-
|
91
|
-
<li class="file"><a href="../README_md.html">README</a>
|
92
|
-
|
93
|
-
</ul>
|
94
|
-
</nav>
|
95
|
-
|
96
|
-
<nav id="classindex-section" class="section project-section">
|
97
|
-
<h3 class="section-header">Class and Module Index</h3>
|
98
|
-
|
99
|
-
<ul class="link-list">
|
100
|
-
|
101
|
-
<li><a href="../BioCReader.html">BioCReader</a>
|
102
|
-
|
103
|
-
<li><a href="../BioCWriter.html">BioCWriter</a>
|
104
|
-
|
105
|
-
<li><a href="../SimpleBioC.html">SimpleBioC</a>
|
106
|
-
|
107
|
-
<li><a href="../SimpleBioC/Annotation.html">SimpleBioC::Annotation</a>
|
108
|
-
|
109
|
-
<li><a href="../SimpleBioC/Collection.html">SimpleBioC::Collection</a>
|
110
|
-
|
111
|
-
<li><a href="../SimpleBioC/Document.html">SimpleBioC::Document</a>
|
112
|
-
|
113
|
-
<li><a href="../SimpleBioC/Location.html">SimpleBioC::Location</a>
|
114
|
-
|
115
|
-
<li><a href="../SimpleBioC/Node.html">SimpleBioC::Node</a>
|
116
|
-
|
117
|
-
<li><a href="../SimpleBioC/NodeBase.html">SimpleBioC::NodeBase</a>
|
118
|
-
|
119
|
-
<li><a href="../SimpleBioC/Passage.html">SimpleBioC::Passage</a>
|
120
|
-
|
121
|
-
<li><a href="../SimpleBioC/Relation.html">SimpleBioC::Relation</a>
|
122
|
-
|
123
|
-
<li><a href="../SimpleBioC/Sentence.html">SimpleBioC::Sentence</a>
|
124
|
-
|
125
|
-
</ul>
|
126
|
-
</nav>
|
78
|
+
</div>
|
127
79
|
|
128
80
|
</div>
|
129
81
|
</nav>
|
130
82
|
|
131
|
-
<
|
132
|
-
<h1
|
83
|
+
<main role="main" aria-labelledby="class-SimpleBioC::Annotation">
|
84
|
+
<h1 id="class-SimpleBioC::Annotation" class="class">
|
85
|
+
class SimpleBioC::Annotation
|
86
|
+
</h1>
|
133
87
|
|
134
|
-
<
|
88
|
+
<section class="description">
|
135
89
|
|
136
|
-
</
|
90
|
+
</section>
|
137
91
|
|
138
92
|
|
139
93
|
|
@@ -146,9 +100,10 @@
|
|
146
100
|
|
147
101
|
|
148
102
|
|
149
|
-
|
150
|
-
|
151
|
-
|
103
|
+
<section class="attribute-method-details" class="method-section">
|
104
|
+
<header>
|
105
|
+
<h3>Attributes</h3>
|
106
|
+
</header>
|
152
107
|
|
153
108
|
|
154
109
|
<div id="attribute-i-locations" class="method-detail">
|
@@ -177,13 +132,14 @@
|
|
177
132
|
</div>
|
178
133
|
</div>
|
179
134
|
|
180
|
-
</section
|
135
|
+
</section>
|
181
136
|
|
182
137
|
|
183
|
-
<!-- Methods -->
|
184
138
|
|
185
|
-
<section id="public-class-5Buntitled-5D-method-details" class="method-section
|
186
|
-
|
139
|
+
<section id="public-class-5Buntitled-5D-method-details" class="method-section">
|
140
|
+
<header>
|
141
|
+
<h3>Public Class Methods</h3>
|
142
|
+
</header>
|
187
143
|
|
188
144
|
|
189
145
|
<div id="method-c-new" class="method-detail ">
|
@@ -215,20 +171,22 @@
|
|
215
171
|
<span class="ruby-keyword">super</span>(<span class="ruby-identifier">parent</span>)
|
216
172
|
<span class="ruby-ivar">@locations</span> = []
|
217
173
|
<span class="ruby-keyword">end</span></pre>
|
218
|
-
</div
|
174
|
+
</div>
|
219
175
|
|
220
176
|
</div>
|
221
177
|
|
222
178
|
|
223
179
|
|
224
180
|
|
225
|
-
</div
|
181
|
+
</div>
|
226
182
|
|
227
183
|
|
228
|
-
</section
|
184
|
+
</section>
|
229
185
|
|
230
|
-
<section id="public-instance-5Buntitled-5D-method-details" class="method-section
|
231
|
-
|
186
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
187
|
+
<header>
|
188
|
+
<h3>Public Instance Methods</h3>
|
189
|
+
</header>
|
232
190
|
|
233
191
|
|
234
192
|
<div id="method-i-to_s" class="method-detail ">
|
@@ -254,26 +212,25 @@
|
|
254
212
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">to_s</span>
|
255
213
|
<span class="ruby-node">"Annotation:#{id} #{text}"</span>
|
256
214
|
<span class="ruby-keyword">end</span></pre>
|
257
|
-
</div
|
215
|
+
</div>
|
258
216
|
|
259
217
|
</div>
|
260
218
|
|
261
219
|
|
262
220
|
|
263
221
|
|
264
|
-
</div
|
222
|
+
</div>
|
265
223
|
|
266
224
|
|
267
|
-
</section
|
225
|
+
</section>
|
268
226
|
|
269
|
-
</section
|
270
|
-
|
271
|
-
</div><!-- documentation -->
|
227
|
+
</section>
|
228
|
+
</main>
|
272
229
|
|
273
230
|
|
274
|
-
<footer id="validator-badges">
|
275
|
-
<p><a href="http://validator.w3.org/check/referer">
|
276
|
-
<p>Generated by <a href="
|
277
|
-
<p>
|
231
|
+
<footer id="validator-badges" role="contentinfo">
|
232
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
233
|
+
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
|
234
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
278
235
|
</footer>
|
279
236
|
|