Method: Datasets::AozoraBunko#initialize

Defined in:
lib/datasets/aozora-bunko.rb

#initializeAozoraBunko

Returns a new instance of AozoraBunko.



149
150
151
152
153
154
155
156
157
158
159
160
161
# File 'lib/datasets/aozora-bunko.rb', line 149

def initialize
  super()

  @metadata.id = 'aozora-bunko'
  @metadata.name = 'Aozora Bunko'
  @metadata.url = 'https://www.aozora.gr.jp/'
  @metadata.licenses = 'CC-BY-2.1-JP'
  @metadata.description = <<~DESCRIPTION
    Aozora Bunko is an activity to collect free electronic books that anyone can access
    on the Internet like a library. The copyrighted works and the works that are said to be
    "free to read" are available after being digitized in text and XHTML (some HTML) formats.
  DESCRIPTION
end