File size: 1,387 Bytes
b148aae
 
 
 
 
a5cf61a
b148aae
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
---
pretty_name: The Royal Carpet
---
# KaraKaraWitch/the-royal-carpet

![image/png](https://cdn-uploads.huggingface.co/production/uploads/633e85093a17ab61de8d9073/b8hxwaPM4dd6NgRlp9x56.png)

A processed version of [KaraKaraWitch/Imperial-Avenue](https://huggingface.co/datasets/KaraKaraWitch/Imperial-Avenue).

Dedicated to a very special [Auri](https://huggingface.co/AuriAetherwiing). Keep rockin' on!

## Dataset Sample

```json
{
    "fiction": {
        "title": "<Story title>",
        "id": 23,
        "author": "<Story Author>",
        "rating": 0.0
    },
    "chapter": {
        "title": "<Chapter title>",
        "id": 110,
        "next": null,
        "prev": 109,
        "prev_info": ""
    },
    "html": "<HTML>",
    "text": "<Markdownified HTML>"
}
```

## Rough Notes

- Removed Anti-Scrape hidden text (aka anti-air defense)
- Extracted novel / fiction id, title, novel overall rating (0.0 - 5.0)
- Extracted chapter paging.
  - On that note, some chapters are weird. You might see a `Expect missing` in `next_info` or `prev_info`
  - `null` prev and/or next chapters means there is no chapter before or after the current chapter
- I had to process everything in some pretty cursed css selectors that *will probably break* if they change around the stuff.
- `text` should be usable but it's adviced to clean it up a bit more.
- No need to join the split jsonl.