Update
Browse files
README.md
CHANGED
@@ -59,12 +59,26 @@ The text in the dataset is in French, as spoken by [Wikipedia](https://en.wikipe
|
|
59 |
|
60 |
## Load the dataset
|
61 |
|
|
|
|
|
62 |
```python
|
63 |
from datasets import load_dataset
|
64 |
dataset = load_dataset("qanastek/ANTILLES")
|
65 |
print(dataset)
|
66 |
```
|
67 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
## Dataset Structure
|
69 |
|
70 |
### Data Instances
|
|
|
59 |
|
60 |
## Load the dataset
|
61 |
|
62 |
+
### HuggingFace
|
63 |
+
|
64 |
```python
|
65 |
from datasets import load_dataset
|
66 |
dataset = load_dataset("qanastek/ANTILLES")
|
67 |
print(dataset)
|
68 |
```
|
69 |
|
70 |
+
### FlairNLP
|
71 |
+
|
72 |
+
```python
|
73 |
+
from flair.datasets import UniversalDependenciesCorpus
|
74 |
+
corpus: Corpus = UniversalDependenciesCorpus(
|
75 |
+
data_folder='ANTILLES',
|
76 |
+
train_file="train.conllu",
|
77 |
+
test_file="test.conllu",
|
78 |
+
dev_file="dev.conllu"
|
79 |
+
)
|
80 |
+
```
|
81 |
+
|
82 |
## Dataset Structure
|
83 |
|
84 |
### Data Instances
|