var search_data = {"index":{"searchIndex":["biocmerger","biocreader","biocwriter","simplebioc","annotation","collection","document","location","node","nodebase","passage","relation","sentence","adjust_annotation_offset()","adjust_ref()","adjust_ref()","adjust_ref()","adjust_relation_refid()","adjust_relation_refids()","blank?()","choose_id()","choose_offset_candidate()","copy_annotation()","copy_annotations()","copy_infons()","copy_relation()","copy_relations()","copy_text()","each_relation()","each_relation()","each_relation()","find_all_locations()","find_node()","find_node()","find_node()","from_xml()","from_xml_file()","from_xml_string()","merge()","merge()","new()","new()","new()","new()","new()","new()","new()","new()","new()","read()","read_annotation()","read_collection()","read_document()","read_from_file_or_string()","read_infon()","read_int()","read_location()","read_node()","read_passage()","read_recursive()","read_relation()","read_sentence()","read_text()","to_c()","to_c()","to_c()","to_c()","to_s()","to_s()","to_s()","to_s()","to_xml()","write()","write_annotation()","write_collection()","write_document()","write_infon()","write_location()","write_node()","write_passage()","write_relation()","write_sentence()","readme"],"longSearchIndex":["biocmerger","biocreader","biocwriter","simplebioc","simplebioc::annotation","simplebioc::collection","simplebioc::document","simplebioc::location","simplebioc::node","simplebioc::nodebase","simplebioc::passage","simplebioc::relation","simplebioc::sentence","biocmerger#adjust_annotation_offset()","simplebioc::document#adjust_ref()","simplebioc::node#adjust_ref()","simplebioc::relation#adjust_ref()","biocmerger#adjust_relation_refid()","biocmerger#adjust_relation_refids()","biocmerger#blank?()","biocmerger#choose_id()","biocmerger#choose_offset_candidate()","biocmerger#copy_annotation()","biocmerger#copy_annotations()","biocmerger#copy_infons()","biocmerger#copy_relation()","biocmerger#copy_relations()","biocmerger#copy_text()","simplebioc::document#each_relation()","simplebioc::passage#each_relation()","simplebioc::sentence#each_relation()","biocmerger#find_all_locations()","simplebioc::document#find_node()","simplebioc::passage#find_node()","simplebioc::sentence#find_node()","simplebioc#from_xml()","simplebioc#from_xml_file()","simplebioc#from_xml_string()","biocmerger#merge()","simplebioc#merge()","simplebioc::annotation::new()","simplebioc::collection::new()","simplebioc::document::new()","simplebioc::location::new()","simplebioc::node::new()","simplebioc::nodebase::new()","simplebioc::passage::new()","simplebioc::relation::new()","simplebioc::sentence::new()","biocreader#read()","biocreader#read_annotation()","biocreader#read_collection()","biocreader#read_document()","biocreader#read_from_file_or_string()","biocreader#read_infon()","biocreader#read_int()","biocreader#read_location()","biocreader#read_node()","biocreader#read_passage()","biocreader#read_recursive()","biocreader#read_relation()","biocreader#read_sentence()","biocreader#read_text()","simplebioc::collection#to_c()","simplebioc::node#to_c()","simplebioc::relation#to_c()","simplebioc::sentence#to_c()","simplebioc::annotation#to_s()","simplebioc::document#to_s()","simplebioc::location#to_s()","simplebioc::passage#to_s()","simplebioc#to_xml()","biocwriter#write()","biocwriter#write_annotation()","biocwriter#write_collection()","biocwriter#write_document()","biocwriter#write_infon()","biocwriter#write_location()","biocwriter#write_node()","biocwriter#write_passage()","biocwriter#write_relation()","biocwriter#write_sentence()",""],"info":[["BioCMerger","","BioCMerger.html","",""],["BioCReader","","BioCReader.html","",""],["BioCWriter","","BioCWriter.html","",""],["SimpleBioC","","SimpleBioC.html","","
SimpleBioC main library\n"],["SimpleBioC::Annotation","","SimpleBioC/Annotation.html","",""],["SimpleBioC::Collection","","SimpleBioC/Collection.html","",""],["SimpleBioC::Document","","SimpleBioC/Document.html","",""],["SimpleBioC::Location","","SimpleBioC/Location.html","",""],["SimpleBioC::Node","","SimpleBioC/Node.html","",""],["SimpleBioC::NodeBase","","SimpleBioC/NodeBase.html","","
NodeBase is not a BioC DTD entity. This is a super class of Annotation\n& Relation.\n"],["SimpleBioC::Passage","","SimpleBioC/Passage.html","",""],["SimpleBioC::Relation","","SimpleBioC/Relation.html","",""],["SimpleBioC::Sentence","","SimpleBioC/Sentence.html","",""],["adjust_annotation_offset","BioCMerger","BioCMerger.html#method-i-adjust_annotation_offset","(obj)",""],["adjust_ref","SimpleBioC::Document","SimpleBioC/Document.html#method-i-adjust_ref","()",""],["adjust_ref","SimpleBioC::Node","SimpleBioC/Node.html#method-i-adjust_ref","()",""],["adjust_ref","SimpleBioC::Relation","SimpleBioC/Relation.html#method-i-adjust_ref","()",""],["adjust_relation_refid","BioCMerger","BioCMerger.html#method-i-adjust_relation_refid","(obj, id_map)",""],["adjust_relation_refids","BioCMerger","BioCMerger.html#method-i-adjust_relation_refids","(doc, id_map)",""],["blank?","BioCMerger","BioCMerger.html#method-i-blank-3F","(text)",""],["choose_id","BioCMerger","BioCMerger.html#method-i-choose_id","(doc, id, id_map)",""],["choose_offset_candidate","BioCMerger","BioCMerger.html#method-i-choose_offset_candidate","(offset, positions)",""],["copy_annotation","BioCMerger","BioCMerger.html#method-i-copy_annotation","(doc, dest, annotation, id_map)",""],["copy_annotations","BioCMerger","BioCMerger.html#method-i-copy_annotations","(doc, dest, src, id_map)",""],["copy_infons","BioCMerger","BioCMerger.html#method-i-copy_infons","(dest, src, warnings)",""],["copy_relation","BioCMerger","BioCMerger.html#method-i-copy_relation","(doc, dest, relation, id_map)",""],["copy_relations","BioCMerger","BioCMerger.html#method-i-copy_relations","(doc, dest, src, id_map)",""],["copy_text","BioCMerger","BioCMerger.html#method-i-copy_text","(dest, src)",""],["each_relation","SimpleBioC::Document","SimpleBioC/Document.html#method-i-each_relation","()",""],["each_relation","SimpleBioC::Passage","SimpleBioC/Passage.html#method-i-each_relation","()",""],["each_relation","SimpleBioC::Sentence","SimpleBioC/Sentence.html#method-i-each_relation","()",""],["find_all_locations","BioCMerger","BioCMerger.html#method-i-find_all_locations","(obj, text)",""],["find_node","SimpleBioC::Document","SimpleBioC/Document.html#method-i-find_node","(id)",""],["find_node","SimpleBioC::Passage","SimpleBioC/Passage.html#method-i-find_node","(id)",""],["find_node","SimpleBioC::Sentence","SimpleBioC/Sentence.html#method-i-find_node","(id)",""],["from_xml","SimpleBioC","SimpleBioC.html#method-i-from_xml","(file_path, options = {})","
parse a BioC XML file in the given path and convert it into a collection\ninstance\n
Arguments\n
file_path
- …\n"],["from_xml_file","SimpleBioC","SimpleBioC.html#method-i-from_xml_file","(file, options = {})","
parse a BioC XML file and convert it into a collection instance\n
Arguments\n
file_path
- file object for parse …\n"],["from_xml_string","SimpleBioC","SimpleBioC.html#method-i-from_xml_string","(string, options = {})","
parse a BioC XML string and convert it into a collection instance\n
Arguments\n
string
- xml string (text) …\n"],["merge","BioCMerger","BioCMerger.html#method-i-merge","(dest_collection, src_collection)",""],["merge","SimpleBioC","SimpleBioC.html#method-i-merge","(dest_bioc, src_bioc)",""],["new","SimpleBioC::Annotation","SimpleBioC/Annotation.html#method-c-new","(parent)",""],["new","SimpleBioC::Collection","SimpleBioC/Collection.html#method-c-new","()",""],["new","SimpleBioC::Document","SimpleBioC/Document.html#method-c-new","(parent)",""],["new","SimpleBioC::Location","SimpleBioC/Location.html#method-c-new","(parent)",""],["new","SimpleBioC::Node","SimpleBioC/Node.html#method-c-new","(parent)",""],["new","SimpleBioC::NodeBase","SimpleBioC/NodeBase.html#method-c-new","(parent)",""],["new","SimpleBioC::Passage","SimpleBioC/Passage.html#method-c-new","(parent)",""],["new","SimpleBioC::Relation","SimpleBioC/Relation.html#method-c-new","(parent)",""],["new","SimpleBioC::Sentence","SimpleBioC/Sentence.html#method-c-new","(parent)",""],["read","BioCReader","BioCReader.html#method-i-read","(path, options)",""],["read_annotation","BioCReader","BioCReader.html#method-i-read_annotation","(xml, annotation, options = {})",""],["read_collection","BioCReader","BioCReader.html#method-i-read_collection","(xml, collection, options = {})",""],["read_document","BioCReader","BioCReader.html#method-i-read_document","(xml, document, options = {})",""],["read_from_file_or_string","BioCReader","BioCReader.html#method-i-read_from_file_or_string","(file_or_string, options)",""],["read_infon","BioCReader","BioCReader.html#method-i-read_infon","(xml, obj)",""],["read_int","BioCReader","BioCReader.html#method-i-read_int","(xml, name)",""],["read_location","BioCReader","BioCReader.html#method-i-read_location","(xml, location, options = {})",""],["read_node","BioCReader","BioCReader.html#method-i-read_node","(xml, node, options = {})",""],["read_passage","BioCReader","BioCReader.html#method-i-read_passage","(xml, passage, options = {})",""],["read_recursive","BioCReader","BioCReader.html#method-i-read_recursive","(xml, obj, name, options = {})",""],["read_relation","BioCReader","BioCReader.html#method-i-read_relation","(xml, relation, options = {})",""],["read_sentence","BioCReader","BioCReader.html#method-i-read_sentence","(xml, sentence, options = {})",""],["read_text","BioCReader","BioCReader.html#method-i-read_text","(xml, name)",""],["to_c","SimpleBioC::Collection","SimpleBioC/Collection.html#method-i-to_c","()",""],["to_c","SimpleBioC::Node","SimpleBioC/Node.html#method-i-to_c","()",""],["to_c","SimpleBioC::Relation","SimpleBioC/Relation.html#method-i-to_c","()",""],["to_c","SimpleBioC::Sentence","SimpleBioC/Sentence.html#method-i-to_c","()",""],["to_s","SimpleBioC::Annotation","SimpleBioC/Annotation.html#method-i-to_s","()",""],["to_s","SimpleBioC::Document","SimpleBioC/Document.html#method-i-to_s","()",""],["to_s","SimpleBioC::Location","SimpleBioC/Location.html#method-i-to_s","()",""],["to_s","SimpleBioC::Passage","SimpleBioC/Passage.html#method-i-to_s","()",""],["to_xml","SimpleBioC","SimpleBioC.html#method-i-to_xml","(collection, options = {})","
convert a collection instance to a BioC XML text. Output will return as\nstring\n
Arguments\n
collection
- …\n"],["write","BioCWriter","BioCWriter.html#method-i-write","(collection, options = {})",""],["write_annotation","BioCWriter","BioCWriter.html#method-i-write_annotation","(xml, annotation)",""],["write_collection","BioCWriter","BioCWriter.html#method-i-write_collection","(xml, collection)",""],["write_document","BioCWriter","BioCWriter.html#method-i-write_document","(xml, document)",""],["write_infon","BioCWriter","BioCWriter.html#method-i-write_infon","(xml, obj)",""],["write_location","BioCWriter","BioCWriter.html#method-i-write_location","(xml, location)",""],["write_node","BioCWriter","BioCWriter.html#method-i-write_node","(xml, node)",""],["write_passage","BioCWriter","BioCWriter.html#method-i-write_passage","(xml, passage)",""],["write_relation","BioCWriter","BioCWriter.html#method-i-write_relation","(xml, relation)",""],["write_sentence","BioCWriter","BioCWriter.html#method-i-write_sentence","(xml, sentence)",""],["README","","README_md.html","","
SimpleBioC\n
SimpleBioC is a simple parser / builder for BioC data format. BioC is a\nsimple XML format to …\n"]]}}