bilbo.storage package¶
Submodules¶
bilbo.storage.document module¶
Document
bilbo.storage.section module¶
section
-
class
bilbo.storage.section.
Section
(str_value, section_naked, section_xml, tokens=None, token_str_lst=None, bibl_status=True, keys=None)¶ Bases:
object
describe the section stored
Str_value: string value with tags Section_naked: string value without tag Section_xml: lxml object Tokens: list of token object (cf token) Token_str_lst: list of string token Bibl_status: True if the section contain a bibl tag Fasle otherwise -
check_constraint
(constraint)¶
-
print_tokens
()¶ print section
-
bilbo.storage.token module¶
Token
bilbo.storage.trie module¶
Trie
Module contents¶
init storage