Upload README.md
Browse files
README.md
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
configs:
|
3 |
+
- config_name: default
|
4 |
+
data_files: "metadata.csv"
|
5 |
+
delimiter: "|"
|
6 |
+
header: 1
|
7 |
+
names: ["Id", "Raw text",normalised"]
|
8 |
+
size_categories:
|
9 |
+
- n<1K
|
10 |
+
---
|
11 |
+
|
12 |
+
We define the config name in the YAML config, as well as the exact location of the file, the separator as `"|"`, the name of the columns, and the number of rows to ignore (the row #1 is a row of column headers, that will be replaced by the `names` option, and the row #0 is ignored). The reference for the options is the [documentation of pandas.read_csv()](https://pandas.pydata.org/docs/reference/api/pandas.read_csv.html).
|
13 |
+
|
14 |
+
```yaml
|
15 |
+
---
|
16 |
+
configs:
|
17 |
+
- config_name: default
|
18 |
+
data_files: "metadata.csv"
|
19 |
+
delimiter: "|"
|
20 |
+
header: 1
|
21 |
+
names: ["Id", "Raw text",normalised"]
|
22 |
+
size_categories:
|
23 |
+
- n<1K
|
24 |
+
---
|
25 |
+
```
|
26 |
+
|
27 |
+
|