Detail the features
Browse files
README.md
CHANGED
@@ -48,6 +48,8 @@ Collection of ASCII art from various sources:
|
|
48 |
|
49 |
## Features
|
50 |
|
|
|
|
|
51 |
```python
|
52 |
datasets.Features({
|
53 |
'caption': datasets.features.Value(dtype='string'),
|
@@ -57,6 +59,32 @@ datasets.Features({
|
|
57 |
'chartypes': datasets.features.Value(dtype='string'),})
|
58 |
```
|
59 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
[github-scrapscii]: https://github.com/apehex/scrapscii/
|
61 |
[source-asciiart]: https://www.asciiart.eu/
|
62 |
[source-twitchquotes]: https://www.twitchquotes.com/
|
|
|
|
|
|
48 |
|
49 |
## Features
|
50 |
|
51 |
+
All the features of the dataset are textual:
|
52 |
+
|
53 |
```python
|
54 |
datasets.Features({
|
55 |
'caption': datasets.features.Value(dtype='string'),
|
|
|
59 |
'chartypes': datasets.features.Value(dtype='string'),})
|
60 |
```
|
61 |
|
62 |
+
- `caption`:
|
63 |
+
- a brief description of the "image"
|
64 |
+
- for example `"Undertale Sans full body"`
|
65 |
+
- can be empty
|
66 |
+
- `content`:
|
67 |
+
- the actual ASCII art, in UTF-8 encoding
|
68 |
+
- for example `"(╯°□°)╯︵ ┻━┻ FLIP THAT TABLE.\r\n┻━┻ ︵ ヽ(°□°ヽ) FLIP THIS TABLE."`
|
69 |
+
- is never empty
|
70 |
+
- `labels`:
|
71 |
+
- a list of tags, separated by commas
|
72 |
+
- the set of tags depends on the dataset
|
73 |
+
- for example `"Cartoons,Smurfs"`
|
74 |
+
- can be empty
|
75 |
+
- `charsets`:
|
76 |
+
- the [Unicode sections][unicode-nameslist] of the characters in the AA
|
77 |
+
- for example `"Braille Patterns,ASCII C0"`
|
78 |
+
- "C0 Controls and Basic Latin" is renamed "ASCII C0"
|
79 |
+
- "C1 Controls and Latin-1 Supplement" is renamed "ASCII C1"
|
80 |
+
- is never empty
|
81 |
+
- `chartypes`:
|
82 |
+
- the [types of characters][wiki-category] in the AA
|
83 |
+
- for example `"Punctuations,Others,Symbols,Letters"`
|
84 |
+
- is never empty
|
85 |
+
|
86 |
[github-scrapscii]: https://github.com/apehex/scrapscii/
|
87 |
[source-asciiart]: https://www.asciiart.eu/
|
88 |
[source-twitchquotes]: https://www.twitchquotes.com/
|
89 |
+
[unicode-nameslist]: https://www.unicode.org/charts/nameslist/
|
90 |
+
[wiki-category]: https://en.wikipedia.org/wiki/Unicode_character_property#General_Category
|