bible_reference_parser 0.1.1
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.
- data/.document +5 -0
- data/.gitignore +22 -0
- data/.rspec +2 -0
- data/Gemfile +13 -0
- data/Gemfile.lock +36 -0
- data/LICENSE +20 -0
- data/README.markdown +6 -0
- data/Rakefile +46 -0
- data/VERSION +1 -0
- data/bible_reference_parser.gemspec +80 -0
- data/lib/bible_reference_parser.rb +7 -0
- data/lib/bible_reference_parser/metadata/bible_metadata.rb +44 -0
- data/lib/bible_reference_parser/metadata/metadata.yml +457 -0
- data/lib/bible_reference_parser/parser.rb +24 -0
- data/lib/bible_reference_parser/reference/behavior/tracks_errors.rb +46 -0
- data/lib/bible_reference_parser/reference/book_reference.rb +168 -0
- data/lib/bible_reference_parser/reference/chapter_reference.rb +242 -0
- data/lib/bible_reference_parser/reference/reference_collection.rb +179 -0
- data/lib/bible_reference_parser/reference/verse_reference.rb +184 -0
- data/spec/bible_metadata_spec.rb +66 -0
- data/spec/book_reference_spec.rb +205 -0
- data/spec/chapter_reference_spec.rb +411 -0
- data/spec/parser_spec.rb +23 -0
- data/spec/reference_collection_spec.rb +237 -0
- data/spec/shared/it_tracks_errors_shared.rb +90 -0
- data/spec/spec_helper.rb +13 -0
- data/spec/verse_reference_spec.rb +182 -0
- metadata +130 -0
data/.document
ADDED
data/.gitignore
ADDED
data/.rspec
ADDED
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
GEM
|
2
|
+
remote: http://rubygems.org/
|
3
|
+
specs:
|
4
|
+
diff-lcs (1.1.2)
|
5
|
+
gemcutter (0.6.1)
|
6
|
+
git (1.2.5)
|
7
|
+
jeweler (1.4.0)
|
8
|
+
gemcutter (>= 0.1.0)
|
9
|
+
git (>= 1.2.5)
|
10
|
+
rubyforge (>= 2.0.0)
|
11
|
+
json_pure (1.4.6)
|
12
|
+
rake (0.8.7)
|
13
|
+
rspec (2.0.0.beta.22)
|
14
|
+
rspec-core (= 2.0.0.beta.22)
|
15
|
+
rspec-expectations (= 2.0.0.beta.22)
|
16
|
+
rspec-mocks (= 2.0.0.beta.22)
|
17
|
+
rspec-core (2.0.0.beta.22)
|
18
|
+
rspec-expectations (2.0.0.beta.22)
|
19
|
+
diff-lcs (>= 1.1.2)
|
20
|
+
rspec-mocks (2.0.0.beta.22)
|
21
|
+
rspec-core (= 2.0.0.beta.22)
|
22
|
+
rspec-expectations (= 2.0.0.beta.22)
|
23
|
+
rubyforge (2.0.4)
|
24
|
+
json_pure (>= 1.1.7)
|
25
|
+
simplecov (0.3.6)
|
26
|
+
simplecov-html (>= 0.3.7)
|
27
|
+
simplecov-html (0.3.8)
|
28
|
+
|
29
|
+
PLATFORMS
|
30
|
+
ruby
|
31
|
+
|
32
|
+
DEPENDENCIES
|
33
|
+
jeweler
|
34
|
+
rake
|
35
|
+
rspec (>= 2.0.0.beta.19)
|
36
|
+
simplecov (>= 0.3.2)
|
data/LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2010 Seed of Truth
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.markdown
ADDED
data/Rakefile
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'bundler'
|
3
|
+
Bundler.setup
|
4
|
+
|
5
|
+
require 'rake'
|
6
|
+
require 'rspec/core/rake_task'
|
7
|
+
require 'rake/rdoctask'
|
8
|
+
|
9
|
+
begin
|
10
|
+
require 'jeweler'
|
11
|
+
Jeweler::Tasks.new do |gem|
|
12
|
+
gem.name = "bible_reference_parser"
|
13
|
+
gem.summary = "Parsing and validation for scripture passages."
|
14
|
+
gem.description = "BibleReferenceParser can parse scriptures passages, such as 'Gen. 1:15-18, 21' to the individual books, chapters and verses in the passage. It also provides validation for invalid book names, chapters, and verses."
|
15
|
+
gem.email = "nathan.mcwilliams@gmail.com"
|
16
|
+
gem.homepage = "http://github.com/endium/bible_reference_parser"
|
17
|
+
gem.authors = ["Nathan McWilliams"]
|
18
|
+
|
19
|
+
gem.add_development_dependency "rspec", ">= 2.0.0.beta.19"
|
20
|
+
gem.add_development_dependency "simplecov", ">= 0.3.2"
|
21
|
+
end
|
22
|
+
Jeweler::GemcutterTasks.new
|
23
|
+
rescue LoadError => ex
|
24
|
+
puts
|
25
|
+
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
|
26
|
+
end
|
27
|
+
|
28
|
+
RSpec::Core::RakeTask.new
|
29
|
+
desc 'Run the specs.'
|
30
|
+
task :default => :spec
|
31
|
+
|
32
|
+
Rake::RDocTask.new do |rdoc|
|
33
|
+
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
34
|
+
rdoc.rdoc_dir = 'rdoc'
|
35
|
+
rdoc.title = "bible_reference_parser #{version}"
|
36
|
+
rdoc.rdoc_files.include('README*')
|
37
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
38
|
+
end
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
task :notes do
|
43
|
+
system "grep -n -r 'FIXME\\|TODO\\|XXX' lib spec"
|
44
|
+
end
|
45
|
+
|
46
|
+
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.1.1
|
@@ -0,0 +1,80 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{bible_reference_parser}
|
8
|
+
s.version = "0.1.1"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Nathan McWilliams"]
|
12
|
+
s.date = %q{2010-09-29}
|
13
|
+
s.description = %q{BibleReferenceParser can parse scriptures passages, such as 'Gen. 1:15-18, 21' to the individual books, chapters and verses in the passage. It also provides validation for invalid book names, chapters, and verses.}
|
14
|
+
s.email = %q{nathan.mcwilliams@gmail.com}
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"LICENSE",
|
17
|
+
"README.markdown"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
".document",
|
21
|
+
".gitignore",
|
22
|
+
".rspec",
|
23
|
+
"Gemfile",
|
24
|
+
"Gemfile.lock",
|
25
|
+
"LICENSE",
|
26
|
+
"README.markdown",
|
27
|
+
"Rakefile",
|
28
|
+
"VERSION",
|
29
|
+
"bible_reference_parser.gemspec",
|
30
|
+
"lib/bible_reference_parser.rb",
|
31
|
+
"lib/bible_reference_parser/metadata/bible_metadata.rb",
|
32
|
+
"lib/bible_reference_parser/metadata/metadata.yml",
|
33
|
+
"lib/bible_reference_parser/parser.rb",
|
34
|
+
"lib/bible_reference_parser/reference/behavior/tracks_errors.rb",
|
35
|
+
"lib/bible_reference_parser/reference/book_reference.rb",
|
36
|
+
"lib/bible_reference_parser/reference/chapter_reference.rb",
|
37
|
+
"lib/bible_reference_parser/reference/reference_collection.rb",
|
38
|
+
"lib/bible_reference_parser/reference/verse_reference.rb",
|
39
|
+
"spec/bible_metadata_spec.rb",
|
40
|
+
"spec/book_reference_spec.rb",
|
41
|
+
"spec/chapter_reference_spec.rb",
|
42
|
+
"spec/parser_spec.rb",
|
43
|
+
"spec/reference_collection_spec.rb",
|
44
|
+
"spec/shared/it_tracks_errors_shared.rb",
|
45
|
+
"spec/spec_helper.rb",
|
46
|
+
"spec/verse_reference_spec.rb"
|
47
|
+
]
|
48
|
+
s.homepage = %q{http://github.com/endium/bible_reference_parser}
|
49
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
50
|
+
s.require_paths = ["lib"]
|
51
|
+
s.rubygems_version = %q{1.3.7}
|
52
|
+
s.summary = %q{Parsing and validation for scripture passages.}
|
53
|
+
s.test_files = [
|
54
|
+
"spec/bible_metadata_spec.rb",
|
55
|
+
"spec/book_reference_spec.rb",
|
56
|
+
"spec/chapter_reference_spec.rb",
|
57
|
+
"spec/parser_spec.rb",
|
58
|
+
"spec/reference_collection_spec.rb",
|
59
|
+
"spec/shared/it_tracks_errors_shared.rb",
|
60
|
+
"spec/spec_helper.rb",
|
61
|
+
"spec/verse_reference_spec.rb"
|
62
|
+
]
|
63
|
+
|
64
|
+
if s.respond_to? :specification_version then
|
65
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
66
|
+
s.specification_version = 3
|
67
|
+
|
68
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
69
|
+
s.add_development_dependency(%q<rspec>, [">= 2.0.0.beta.19"])
|
70
|
+
s.add_development_dependency(%q<simplecov>, [">= 0.3.2"])
|
71
|
+
else
|
72
|
+
s.add_dependency(%q<rspec>, [">= 2.0.0.beta.19"])
|
73
|
+
s.add_dependency(%q<simplecov>, [">= 0.3.2"])
|
74
|
+
end
|
75
|
+
else
|
76
|
+
s.add_dependency(%q<rspec>, [">= 2.0.0.beta.19"])
|
77
|
+
s.add_dependency(%q<simplecov>, [">= 0.3.2"])
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
@@ -0,0 +1,7 @@
|
|
1
|
+
require 'bible_reference_parser/metadata/bible_metadata'
|
2
|
+
require 'bible_reference_parser/reference/behavior/tracks_errors'
|
3
|
+
require 'bible_reference_parser/reference/reference_collection'
|
4
|
+
require 'bible_reference_parser/reference/book_reference'
|
5
|
+
require 'bible_reference_parser/reference/chapter_reference'
|
6
|
+
require 'bible_reference_parser/reference/verse_reference'
|
7
|
+
require 'bible_reference_parser/parser'
|
@@ -0,0 +1,44 @@
|
|
1
|
+
require 'yaml'
|
2
|
+
|
3
|
+
module BibleReferenceParser
|
4
|
+
|
5
|
+
# This class encapsulates the metadata about a book's name and short name.
|
6
|
+
# It also holds info on the number of verses in each chapter. See metadata.yml for more details.
|
7
|
+
class BibleMetadata
|
8
|
+
class << self
|
9
|
+
# The metadata contents loaded from the yaml file.
|
10
|
+
attr_reader :metadata
|
11
|
+
|
12
|
+
# Access metadata information for the specified book_name.
|
13
|
+
# book_name can either be the full name, or one of the book's
|
14
|
+
# abbreviations. For the names and abbreviations recognized,
|
15
|
+
# see the metadata.yml file.
|
16
|
+
#
|
17
|
+
# The metadata.yml file indexes book names in lowercase without spaces.
|
18
|
+
# The parameter passed in is converted to this format automatically.
|
19
|
+
#
|
20
|
+
# Examples:
|
21
|
+
# BibleMetadata["Genesis"]
|
22
|
+
# BibleMetadata["gen"]
|
23
|
+
# BibleMetadata["rev."]
|
24
|
+
#
|
25
|
+
# The returned object is a hash. Example:
|
26
|
+
# {
|
27
|
+
# "name" => "Genesis",
|
28
|
+
# "short" => "Gen.",
|
29
|
+
# "chapter_info" => [31,25,24,26,32,22,24,22,29,32,32...]
|
30
|
+
# }
|
31
|
+
#
|
32
|
+
# If the book isn't found, "nil" is returned.
|
33
|
+
def [](book_name)
|
34
|
+
# make lowercase and strip out any spaces or periods
|
35
|
+
index = book_name.downcase.gsub(/\s*\.*/, "")
|
36
|
+
metadata[index]
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
# Load the metadata on books and chapters from the yaml file
|
41
|
+
@metadata = YAML::load_file(File.dirname(__FILE__) + '/metadata.yml')
|
42
|
+
|
43
|
+
end
|
44
|
+
end
|
@@ -0,0 +1,457 @@
|
|
1
|
+
# Metadata about book names, short names (abbreviations) and verses in each chapter
|
2
|
+
|
3
|
+
genesis: &gen
|
4
|
+
name: Genesis
|
5
|
+
short_name: Gen.
|
6
|
+
chapter_info: [31, 25, 24, 26, 32, 22, 24, 22, 29, 32, 32, 20, 18, 24, 21, 16, 27, 33, 38, 18, 34, 24, 20, 67, 34, 35, 46, 22, 35, 43, 55, 32, 20, 31, 29, 43, 36, 30, 23, 23, 57, 38, 34, 34, 28, 34, 31, 22, 33, 26]
|
7
|
+
gen: *gen
|
8
|
+
gn: *gen
|
9
|
+
ge: *gen
|
10
|
+
exodus: &ex
|
11
|
+
name: Exodus
|
12
|
+
short_name: Ex.
|
13
|
+
chapter_info: [22, 25, 22, 31, 23, 30, 25, 32, 35, 29, 10, 51, 22, 31, 27, 36, 16, 27, 25, 26, 36, 31, 33, 18, 40, 37, 21, 43, 46, 38, 18, 35, 23, 35, 35, 38, 29, 31, 43, 38]
|
14
|
+
exo: *ex
|
15
|
+
ex: *ex
|
16
|
+
exod: *ex
|
17
|
+
leviticus: &lev
|
18
|
+
name: Leviticus
|
19
|
+
short_name: Lev.
|
20
|
+
chapter_info: [17, 16, 17, 35, 19, 30, 38, 36, 24, 20, 47, 8, 59, 57, 33, 34, 16, 30, 37, 27, 24, 33, 44, 23, 55, 46, 34]
|
21
|
+
lev: *lev
|
22
|
+
lv: *lev
|
23
|
+
numbers: &num
|
24
|
+
name: Numbers
|
25
|
+
short_name: Num.
|
26
|
+
chapter_info: [54, 34, 51, 49, 31, 27, 89, 26, 23, 36, 35, 16, 33, 45, 41, 50, 13, 32, 22, 29, 35, 41, 30, 25, 18, 65, 23, 31, 40, 16, 54, 42, 56, 29, 34, 13]
|
27
|
+
num: *num
|
28
|
+
nm: *num
|
29
|
+
nu: *num
|
30
|
+
deuteronomy: &deut
|
31
|
+
name: Deuteronomy
|
32
|
+
short_name: Deut.
|
33
|
+
chapter_info: [46, 37, 29, 49, 33, 25, 26, 20, 29, 22, 32, 32, 18, 29, 23, 22, 20, 22, 21, 20, 23, 30, 25, 22, 19, 19, 26, 68, 29, 20, 30, 52, 29, 12]
|
34
|
+
deut: *deut
|
35
|
+
dt: *deut
|
36
|
+
deu: *deut
|
37
|
+
joshua: &josh
|
38
|
+
name: Joshua
|
39
|
+
short_name: Josh.
|
40
|
+
chapter_info: [18, 24, 17, 24, 15, 27, 26, 35, 27, 43, 23, 24, 33, 15, 63, 10, 18, 28, 51, 9, 45, 34, 16, 33]
|
41
|
+
jos: *josh
|
42
|
+
josh: *josh
|
43
|
+
judges: &judg
|
44
|
+
name: Judges
|
45
|
+
short_name: Judg.
|
46
|
+
chapter_info: [36, 23, 31, 24, 31, 40, 25, 35, 57, 18, 40, 15, 25, 20, 20, 31, 13, 31, 30, 48, 25]
|
47
|
+
judg: *judg
|
48
|
+
jdg: *judg
|
49
|
+
ruth: &ruth
|
50
|
+
name: Ruth
|
51
|
+
short_name: Ruth
|
52
|
+
chapter_info: [22, 23, 18, 22]
|
53
|
+
ru: *ruth
|
54
|
+
rt: *ruth
|
55
|
+
rut: *ruth
|
56
|
+
rth: *ruth
|
57
|
+
1samuel: &1sam
|
58
|
+
name: 1 Samuel
|
59
|
+
short_name: 1 Sam.
|
60
|
+
chapter_info: [28, 36, 21, 22, 12, 21, 17, 22, 27, 27, 15, 25, 23, 52, 35, 23, 58, 30, 24, 42, 15, 23, 29, 22, 44, 25, 12, 25, 11, 31, 13]
|
61
|
+
1sam: *1sam
|
62
|
+
1sa: *1sam
|
63
|
+
1s: *1sam
|
64
|
+
1sm: *1sam
|
65
|
+
2samuel: &2sam
|
66
|
+
name: 2 Samuel
|
67
|
+
short_name: 2 Sam.
|
68
|
+
chapter_info: [27, 32, 39, 12, 25, 23, 29, 18, 13, 19, 27, 31, 39, 33, 37, 23, 29, 33, 43, 26, 22, 51, 39, 25]
|
69
|
+
2sam: *2sam
|
70
|
+
2sa: *2sam
|
71
|
+
2s: *2sam
|
72
|
+
2sm: *2sam
|
73
|
+
1kings: &1kgs
|
74
|
+
name: 1 Kings
|
75
|
+
short_name: 1 Kgs.
|
76
|
+
chapter_info: [53, 46, 28, 34, 18, 38, 51, 66, 28, 29, 43, 33, 34, 31, 34, 34, 24, 46, 21, 43, 29, 53]
|
77
|
+
1ki: *1kgs
|
78
|
+
1kgs: *1kgs
|
79
|
+
2kings: &2kgs
|
80
|
+
name: 2 Kings
|
81
|
+
short_name: 2 Kgs.
|
82
|
+
chapter_info: [18, 25, 27, 44, 27, 33, 20, 29, 37, 36, 21, 21, 25, 29, 38, 20, 41, 37, 37, 21, 26, 20, 37, 20, 30]
|
83
|
+
2ki: *2kgs
|
84
|
+
2kgs: *2kgs
|
85
|
+
1chronicles: &1chron
|
86
|
+
name: 1 Chronicles
|
87
|
+
short_name: 1 Chron.
|
88
|
+
chapter_info: [54, 55, 24, 43, 26, 81, 40, 40, 44, 14, 47, 40, 14, 17, 29, 43, 27, 17, 19, 8, 30, 19, 32, 31, 31, 32, 34, 21, 30]
|
89
|
+
1chr: *1chron
|
90
|
+
1ch: *1chron
|
91
|
+
1chron: *1chron
|
92
|
+
2chronicles: &2chron
|
93
|
+
name: 2 Chronicles
|
94
|
+
short_name: 2 Chron.
|
95
|
+
chapter_info: [17, 18, 17, 22, 14, 42, 22, 18, 31, 19, 23, 16, 22, 15, 19, 14, 19, 34, 11, 37, 20, 12, 21, 27, 28, 23, 9, 27, 36, 27, 21, 33, 25, 33, 27, 23]
|
96
|
+
2chr: *2chron
|
97
|
+
2ch: *2chron
|
98
|
+
2chron: *2chron
|
99
|
+
ezra: &ezra
|
100
|
+
name: Ezra
|
101
|
+
short_name: Ezra
|
102
|
+
chapter_info: [11, 70, 13, 24, 17, 22, 28, 36, 15, 44]
|
103
|
+
ezr: *ezra
|
104
|
+
esr: *ezra
|
105
|
+
1ezr: *ezra
|
106
|
+
nehemiah: &neh
|
107
|
+
name: Nehemiah
|
108
|
+
short_name: Neh.
|
109
|
+
chapter_info: [11, 20, 32, 23, 19, 19, 73, 18, 38, 39, 36, 47, 31]
|
110
|
+
neh: *neh
|
111
|
+
ne: *neh
|
112
|
+
2ezr: *neh
|
113
|
+
esther: &esth
|
114
|
+
name: Esther
|
115
|
+
short_name: Esth.
|
116
|
+
chapter_info: [22, 23, 15, 17, 14, 14, 10, 17, 32, 3]
|
117
|
+
est: *esth
|
118
|
+
esth: *esth
|
119
|
+
job: &job
|
120
|
+
name: Job
|
121
|
+
short_name: Job
|
122
|
+
chapter_info: [22, 13, 26, 21, 27, 30, 21, 22, 35, 22, 20, 25, 28, 22, 35, 22, 16, 21, 29, 29, 34, 30, 17, 25, 6, 14, 23, 28, 25, 31, 40, 22, 33, 37, 16, 33, 24, 41, 30, 24, 34, 17]
|
123
|
+
jb: *job
|
124
|
+
psalms: &ps
|
125
|
+
name: Psalms
|
126
|
+
short_name: Ps.
|
127
|
+
chapter_info: [6, 12, 8, 8, 12, 10, 17, 9, 20, 18, 7, 8, 6, 7, 5, 11, 15, 50, 14, 9, 13, 31, 6, 10, 22, 12, 14, 9, 11, 12, 24, 11, 22, 22, 28, 12, 40, 22, 13, 17, 13, 11, 5, 26, 17, 11, 9, 14, 20, 23, 19, 9, 6, 7, 23, 13, 11, 11, 17, 12, 8, 12, 11, 10, 13, 20, 7, 35, 36, 5, 24, 20, 28, 23, 10, 12, 20, 72, 13, 19, 16, 8, 18, 12, 13, 17, 7, 18, 52, 17, 16, 15, 5, 23, 11, 13, 12, 9, 9, 5, 8, 28, 22, 35, 45, 48, 43, 13, 31, 7, 10, 10, 9, 8, 18, 19, 2, 29, 176, 7, 8, 9, 4, 8, 5, 6, 5, 6, 8, 8, 3, 18, 3, 3, 21, 26, 9, 8, 24, 13, 10, 7, 12, 15, 21, 10, 20, 14, 9, 6]
|
128
|
+
psa: *ps
|
129
|
+
ps: *ps
|
130
|
+
psalm: *ps
|
131
|
+
proverbs: &prov
|
132
|
+
name: Proverbs
|
133
|
+
short_name: Prov.
|
134
|
+
chapter_info: [33, 22, 35, 27, 23, 35, 27, 36, 18, 32, 31, 28, 25, 35, 33, 33, 28, 24, 29, 30, 31, 29, 35, 34, 28, 28, 27, 28, 27, 33, 31]
|
135
|
+
pro: *prov
|
136
|
+
pr: *prov
|
137
|
+
prov: *prov
|
138
|
+
prv: *prov
|
139
|
+
ecclesiastes: &eccles
|
140
|
+
name: Ecclesiastes
|
141
|
+
short_name: Eccles.
|
142
|
+
chapter_info: [18, 26, 22, 16, 20, 12, 29, 17, 18, 20, 10, 14]
|
143
|
+
ecc: *ecc
|
144
|
+
ec: *ec
|
145
|
+
eccl: *eccl
|
146
|
+
songofsolomon: &song
|
147
|
+
name: Song of Solomon
|
148
|
+
short_name: Song.
|
149
|
+
chapter_info: [17, 17, 11, 16, 16, 13, 13, 14]
|
150
|
+
sng: *song
|
151
|
+
song: *song
|
152
|
+
canticles: *song
|
153
|
+
cant: *song
|
154
|
+
isaiah: &isa
|
155
|
+
name: Isaiah
|
156
|
+
short_name: Isa.
|
157
|
+
chapter_info: [31, 22, 26, 6, 30, 13, 25, 22, 21, 34, 16, 6, 22, 32, 9, 14, 14, 7, 25, 6, 17, 25, 18, 23, 12, 21, 13, 29, 24, 33, 9, 20, 24, 17, 10, 22, 38, 22, 8, 31, 29, 25, 28, 28, 25, 13, 15, 22, 26, 11, 23, 15, 12, 17, 13, 12, 21, 14, 21, 22, 11, 12, 19, 12, 25, 24]
|
158
|
+
isa: *isa
|
159
|
+
is: *isa
|
160
|
+
jeremiah: &jer
|
161
|
+
name: Jeremiah
|
162
|
+
short_name: Jer.
|
163
|
+
chapter_info: [19, 37, 25, 31, 31, 30, 34, 22, 26, 25, 23, 17, 27, 22, 21, 21, 27, 23, 15, 18, 14, 30, 40, 10, 38, 24, 22, 17, 32, 24, 40, 44, 26, 22, 19, 32, 21, 28, 18, 16, 18, 22, 13, 30, 5, 28, 7, 47, 39, 46, 64, 34]
|
164
|
+
jer: *jer
|
165
|
+
jr: *jer
|
166
|
+
lamentations: &lam
|
167
|
+
name: Lamentations
|
168
|
+
short_name: Lam.
|
169
|
+
chapter_info: [22, 22, 66, 22, 22]
|
170
|
+
lam: *lam
|
171
|
+
la: *lam
|
172
|
+
lm: *lam
|
173
|
+
ezekiel: &ezek
|
174
|
+
name: Ezekiel
|
175
|
+
short_name: Ezek.
|
176
|
+
chapter_info: [28, 10, 27, 17, 17, 14, 27, 18, 11, 22, 25, 28, 23, 23, 8, 63, 24, 32, 14, 49, 32, 31, 49, 27, 17, 21, 36, 26, 21, 26, 18, 32, 33, 31, 15, 38, 28, 23, 29, 49, 26, 20, 27, 31, 25, 24, 23, 35]
|
177
|
+
ezk: *ezek
|
178
|
+
ez: *ezek
|
179
|
+
ezek: *ezek
|
180
|
+
eze: *ezek
|
181
|
+
daniel: &dan
|
182
|
+
name: Daniel
|
183
|
+
short_name: Dan.
|
184
|
+
chapter_info: [21, 49, 30, 37, 31, 28, 28, 27, 27, 21, 45, 13]
|
185
|
+
dan: *dan
|
186
|
+
da: *dan
|
187
|
+
dn: *dan
|
188
|
+
hosea: &hos
|
189
|
+
name: Hosea
|
190
|
+
short_name: Hos.
|
191
|
+
chapter_info: [11, 23, 5, 19, 15, 11, 16, 14, 17, 15, 12, 14, 16, 9]
|
192
|
+
hos: *hos
|
193
|
+
ho: *hos
|
194
|
+
joel: &joel
|
195
|
+
name: Joel
|
196
|
+
short_name: Joel
|
197
|
+
chapter_info: [20, 32, 21]
|
198
|
+
jol: *joel
|
199
|
+
jl: *joel
|
200
|
+
amos: &amos
|
201
|
+
name: Amos
|
202
|
+
short_name: Amos
|
203
|
+
chapter_info: [15, 16, 15, 13, 27, 14, 17, 14, 15]
|
204
|
+
amo: *amos
|
205
|
+
am: *amos
|
206
|
+
obadiah: &obad
|
207
|
+
name: Obadiah
|
208
|
+
short_name: Obad.
|
209
|
+
chapter_info: [21]
|
210
|
+
oba: *obad
|
211
|
+
ob: *obad
|
212
|
+
obad: *obad
|
213
|
+
obd: *obad
|
214
|
+
jonah: &jon
|
215
|
+
name: Jonah
|
216
|
+
short_name: Jon.er
|
217
|
+
chapter_info: [17, 10, 10, 11]
|
218
|
+
jon: *jon
|
219
|
+
jnh: *jon
|
220
|
+
micah: &micah
|
221
|
+
name: Micah
|
222
|
+
short_name: Micah
|
223
|
+
chapter_info: [16, 13, 12, 13, 15, 16, 20]
|
224
|
+
mic: *micah
|
225
|
+
mi: *micah
|
226
|
+
mch: *micah
|
227
|
+
nahum: &nah
|
228
|
+
name: Nahum
|
229
|
+
short_name: Nah.
|
230
|
+
chapter_info: [15, 13, 19]
|
231
|
+
nah: *nah
|
232
|
+
na: *nah
|
233
|
+
nam: *nah
|
234
|
+
habakkuk: &hab
|
235
|
+
name: Habakkuk
|
236
|
+
short_name: Hab.
|
237
|
+
chapter_info: [17, 20, 19]
|
238
|
+
hab: *hab
|
239
|
+
ha: *hab
|
240
|
+
zephaniah: &zeph
|
241
|
+
name: Zephaniah
|
242
|
+
short_name: Zeph.
|
243
|
+
chapter_info: [18, 15, 20]
|
244
|
+
zeph: *zeph
|
245
|
+
zec: *zeph
|
246
|
+
zch: *zeph
|
247
|
+
haggai: &haggai
|
248
|
+
name: Haggai
|
249
|
+
short_name: Haggai
|
250
|
+
chapter_info: [15, 23]
|
251
|
+
hag: *haggai
|
252
|
+
hagg: *haggai
|
253
|
+
zechariah: &zech
|
254
|
+
name: Zechariah
|
255
|
+
short_name: Zech.
|
256
|
+
chapter_info: [21, 13, 10, 14, 11, 15, 14, 23, 17, 12, 17, 14, 9, 21]
|
257
|
+
zech: *zech
|
258
|
+
zec: *zech
|
259
|
+
zch: *zech
|
260
|
+
malachi: &mal
|
261
|
+
name: Malachi
|
262
|
+
short_name: Mal.
|
263
|
+
chapter_info: [14, 17, 18, 6]
|
264
|
+
mal: *mal
|
265
|
+
ml: *mal
|
266
|
+
matthew: &matt
|
267
|
+
name: Matthew
|
268
|
+
short_name: Matt.
|
269
|
+
chapter_info: [25, 23, 17, 25, 48, 34, 29, 34, 38, 42, 30, 50, 58, 36, 39, 28, 27, 35, 30, 34, 46, 46, 39, 51, 46, 75, 66, 20]
|
270
|
+
mt: *matt
|
271
|
+
mat: *matt
|
272
|
+
matt: *matt
|
273
|
+
mark: &mark
|
274
|
+
name: Mark
|
275
|
+
short_name: Mark
|
276
|
+
chapter_info: [45, 28, 35, 41, 43, 56, 37, 38, 50, 52, 33, 44, 37, 72, 47, 20]
|
277
|
+
mk: *mark
|
278
|
+
mr: *mark
|
279
|
+
mrk: *mark
|
280
|
+
luke: &luke
|
281
|
+
name: Luke
|
282
|
+
short_name: Luke
|
283
|
+
chapter_info: [80, 52, 38, 44, 39, 49, 50, 56, 62, 42, 54, 59, 35, 35, 32, 31, 37, 43, 48, 47, 38, 71, 56, 53]
|
284
|
+
lk: *luke
|
285
|
+
luk: *luke
|
286
|
+
l: *luke
|
287
|
+
lu: *luke
|
288
|
+
john: &john
|
289
|
+
name: John
|
290
|
+
short_name: John
|
291
|
+
chapter_info: [51, 25, 36, 54, 47, 71, 53, 59, 41, 42, 57, 50, 38, 31, 27, 33, 26, 40, 42, 31, 25]
|
292
|
+
jn: *john
|
293
|
+
jhn: *john
|
294
|
+
j: *john
|
295
|
+
joh: *john
|
296
|
+
acts: &acts
|
297
|
+
name: Acts
|
298
|
+
short_name: Acts
|
299
|
+
chapter_info: [26, 47, 26, 37, 42, 15, 60, 40, 43, 48, 30, 25, 52, 28, 41, 40, 34, 28, 41, 38, 40, 30, 35, 27, 27, 32, 44, 31]
|
300
|
+
act: *acts
|
301
|
+
ac: *acts
|
302
|
+
romans: &rom
|
303
|
+
name: Romans
|
304
|
+
short_name: Rom.
|
305
|
+
chapter_info: [32, 29, 31, 25, 21, 23, 25, 39, 33, 21, 36, 21, 14, 23, 33, 27]
|
306
|
+
rom: *rom
|
307
|
+
ro: *rom
|
308
|
+
r: *rom
|
309
|
+
rm: *rom
|
310
|
+
1corinthians: &1cor
|
311
|
+
name: 1 Corinthians
|
312
|
+
short_name: 1 Cor.
|
313
|
+
chapter_info: [31, 16, 23, 21, 13, 20, 40, 13, 27, 33, 34, 31, 13, 40, 58, 24]
|
314
|
+
1cor: *1cor
|
315
|
+
1co: *1cor
|
316
|
+
1k: *1cor
|
317
|
+
2corinthians: &2cor
|
318
|
+
name: 2 Corinthians
|
319
|
+
short_name: 2 Cor.
|
320
|
+
chapter_info: [24, 17, 18, 18, 21, 18, 16, 24, 15, 18, 33, 21, 14]
|
321
|
+
2cor: *2cor
|
322
|
+
2co: *2cor
|
323
|
+
2k: *2cor
|
324
|
+
galatians: &gal
|
325
|
+
name: Galatians
|
326
|
+
short_name: Gal.
|
327
|
+
chapter_info: [24, 21, 29, 31, 26, 18]
|
328
|
+
gal: *gal
|
329
|
+
ga: *gal
|
330
|
+
g: *gal
|
331
|
+
ephesians: &eph
|
332
|
+
name: Ephesians
|
333
|
+
short_name: Eph.
|
334
|
+
chapter_info: [23, 22, 21, 32, 33, 24]
|
335
|
+
eph: *eph
|
336
|
+
ep: *eph
|
337
|
+
e: *eph
|
338
|
+
philippians: &phil
|
339
|
+
name: Philippians
|
340
|
+
short_name: Phil.
|
341
|
+
chapter_info: [30, 30, 21, 23]
|
342
|
+
phil: *phil
|
343
|
+
php: *phil
|
344
|
+
ph: *phil
|
345
|
+
phili: *phil
|
346
|
+
colossians: &col
|
347
|
+
name: Colossians
|
348
|
+
short_name: Col.
|
349
|
+
chapter_info: [29, 23, 25, 18]
|
350
|
+
col: *col
|
351
|
+
1thessalonians: &1thess
|
352
|
+
name: 1 Thessalonians
|
353
|
+
short_name: 1 Thess.
|
354
|
+
chapter_info: [10, 20, 13, 18, 28]
|
355
|
+
1th: *1thess
|
356
|
+
1thess: *1thess
|
357
|
+
1thes: *1thess
|
358
|
+
2thessalonians: &2thess
|
359
|
+
name: 2 Thessalonians
|
360
|
+
short_name: 2 Thess.
|
361
|
+
chapter_info: [12, 17, 18]
|
362
|
+
2th: *2thess
|
363
|
+
2thess: *2thess
|
364
|
+
2thes: *2thess
|
365
|
+
1timothy: &1tim
|
366
|
+
name: 1 Timothy
|
367
|
+
short_name: 1 Tim.
|
368
|
+
chapter_info: [20, 15, 16, 16, 25, 21]
|
369
|
+
1tim: *1tim
|
370
|
+
1ti: *1tim
|
371
|
+
1t: *1tim
|
372
|
+
1tm: *1tim
|
373
|
+
2timothy: &2tim
|
374
|
+
name: 2 Timothy
|
375
|
+
short_name: 2 Tim.
|
376
|
+
chapter_info: [18, 26, 17, 22]
|
377
|
+
2tim: *2tim
|
378
|
+
2ti: *2tim
|
379
|
+
2t: *2tim
|
380
|
+
2tm: *2tim
|
381
|
+
titus: &titus
|
382
|
+
name: Titus
|
383
|
+
short_name: Titus
|
384
|
+
chapter_info: [16, 15, 15]
|
385
|
+
tit: *titus
|
386
|
+
tt: *titus
|
387
|
+
philemon: &philem
|
388
|
+
name: Philemon
|
389
|
+
short_name: Philem.
|
390
|
+
chapter_info: [25]
|
391
|
+
phm: *philem
|
392
|
+
phlm: *philem
|
393
|
+
philem: *philem
|
394
|
+
phile: *philem
|
395
|
+
hebrews: &heb
|
396
|
+
name: Hebrews
|
397
|
+
short_name: Heb.
|
398
|
+
chapter_info: [14, 18, 19, 16, 14, 20, 28, 13, 28, 39, 40, 29, 25]
|
399
|
+
heb: *heb
|
400
|
+
hebr: *heb
|
401
|
+
h: *heb
|
402
|
+
hbr: *heb
|
403
|
+
james: &james
|
404
|
+
name: James
|
405
|
+
short_name: James
|
406
|
+
chapter_info: [27, 26, 18, 17, 20]
|
407
|
+
jas: *james
|
408
|
+
jam: *james
|
409
|
+
ja: *james
|
410
|
+
1peter: &1pet
|
411
|
+
name: 1 Peter
|
412
|
+
short_name: 1 Pet.
|
413
|
+
chapter_info: [25, 25, 22, 19, 14]
|
414
|
+
1pet: *1pet
|
415
|
+
1pt: *1pet
|
416
|
+
1p: *1pet
|
417
|
+
1pe: *1pet
|
418
|
+
2peter: &2pet
|
419
|
+
name: 2 Peter
|
420
|
+
short_name: 2 Pet.
|
421
|
+
chapter_info: [21, 22, 18]
|
422
|
+
2pet: *2pet
|
423
|
+
2pt: *2pet
|
424
|
+
2p: *2pet
|
425
|
+
2pe: *2pet
|
426
|
+
1john: &1john
|
427
|
+
name: 1 John
|
428
|
+
short_name: 1 John
|
429
|
+
chapter_info: [10, 29, 24, 21, 21]
|
430
|
+
1jn: *1john
|
431
|
+
1jo: *1john
|
432
|
+
1j: *1john
|
433
|
+
2john: &2john
|
434
|
+
name: 2 John
|
435
|
+
short_name: 2 John
|
436
|
+
chapter_info: [13]
|
437
|
+
2jn: *2john
|
438
|
+
2jo: *2john
|
439
|
+
2j: *2john
|
440
|
+
3john: &3john
|
441
|
+
name: 3 John
|
442
|
+
short_name: 3 John
|
443
|
+
chapter_info: [14]
|
444
|
+
3jn: *3john
|
445
|
+
3jo: *3john
|
446
|
+
3j: *3john
|
447
|
+
jude: &jude
|
448
|
+
name: Jude
|
449
|
+
short_name: Jude
|
450
|
+
chapter_info: [25]
|
451
|
+
jud: *jude
|
452
|
+
jd: *jude
|
453
|
+
revelation: &rev
|
454
|
+
name: Revelation
|
455
|
+
short_name: Rev.
|
456
|
+
chapter_info: [20, 29, 22, 11, 14, 17, 17, 13, 21, 11, 19, 17, 18, 20, 8, 21, 18, 24, 21, 15, 27, 21]
|
457
|
+
rev: *rev
|