Update README.md
Browse files
README.md
CHANGED
@@ -4,6 +4,38 @@ license: cc-by-4.0
|
|
4 |
|
5 |
Texbooks from openstax.org with their chapters, abstracts and sections.
|
6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
Stats:
|
8 |
```python
|
9 |
def count_sections(chapters):
|
|
|
4 |
|
5 |
Texbooks from openstax.org with their chapters, abstracts and sections.
|
6 |
|
7 |
+
Sample:
|
8 |
+
```json
|
9 |
+
{
|
10 |
+
"book_title":"World History Volume 1, to 1500",
|
11 |
+
"language":"en",
|
12 |
+
"chapters":[
|
13 |
+
{
|
14 |
+
"title":"Preface",
|
15 |
+
"abstract":"None",
|
16 |
+
"sections":[
|
17 |
+
{
|
18 |
+
"title":"About OpenStax",
|
19 |
+
"paragraph":"OpenStax is part of Rice University, which is a 501(c)(3) nonprofit..."
|
20 |
+
},
|
21 |
+
{
|
22 |
+
"title":"About OpenStax Resources",
|
23 |
+
"paragraph":"None"
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"title":"About *World History*",
|
27 |
+
"paragraph":"*World History* is designed to support both semesters of the world history course..."
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"title":"Pedagogical Foundation",
|
31 |
+
"paragraph":"None"
|
32 |
+
},
|
33 |
+
{
|
34 |
+
"title":"Answers to Questions in the Book",
|
35 |
+
"paragraph":"The end-of-chapter Review, Check Your Understanding, and Reflection Questions are intended for..."
|
36 |
+
},
|
37 |
+
```
|
38 |
+
|
39 |
Stats:
|
40 |
```python
|
41 |
def count_sections(chapters):
|