Skip to content

Commit 5ac358f

Browse files
committed
more documentation tests
1 parent 7fc1ff1 commit 5ac358f

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

docs/tutorial/intro.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,4 +89,8 @@ The output shows that the sentence "_I love Berlin and New York._" was tagged as
8989

9090
## Summary
9191

92-
Congrats, you now know how to use Flair to find entities and detect sentiment!
92+
Congrats, you now know how to use Flair to find entities and detect sentiment!
93+
94+
## Next steps
95+
96+
If you want to know more about Flair, next check out [Tutorial 1](tutorial-basics/) that gives an intro into the basics of Flair!

docs/tutorial/tutorial-basics/basic-types.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ This print-out includes the token index (3) and the lexical value of the token (
8787
When you create a [`Sentence`](#flair.data.Sentence) as above, the text is automatically tokenized (segmented into words) using the [segtok](https://pypi.org/project/segtok/) library.
8888

8989
```{note}
90-
You can also use a different tokenizer if you like. To learn more about this, check out our tokenization tutorial.
90+
You can also use a different tokenizer by passing a different [`Tokenizer`](#flair.tokenization.Tokenizer ) to the Sentence
91+
when you initialize it.
9192
```
9293

9394

docs/tutorial/tutorial-training/how-to-load-prepared-dataset.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,13 +165,22 @@ The [`MultiCorpus`](#flair.data.MultiCorpus) inherits from [`Corpus`](#flair.dat
165165
Flair supports many datasets out of the box. It usually automatically downloads and sets up the data the first time you
166166
call the corresponding constructor ID.
167167
The datasets are split into multiple modules, however they all can be imported from `flair.datasets` too.
168+
169+
They are imported from :mod:`flair.datasets`.
170+
171+
They are imported from :mod:`flair.datasets`
172+
173+
[datasets](module:flair.datasets)
174+
175+
To learn more about the class, refer to the :class:`flair.data.Corpus` class.
176+
168177
You can look up the respective modules to find the possible datasets.
169178

170179
The following datasets are supported:
171180

172181
| Task | Module |
173182
|-------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------|
174-
| Named Entity Recognition | [flair.datasets.sequence_labeling](../../api/datasets/sequence_labeling.html) |
183+
| Named Entity Recognition | [flair.datasets.sequence_labeling](#flair.datasets.sequence_labeling) |
175184
| Text Classification | [flair.datasets.document_classification](#flair.datasets.document_classification) |
176185
| Text Regression | [flair.datasets.document_classification](#flair.datasets.document_classification) |
177186
| Biomedical Named Entity Recognition | [flair.datasets.biomedical](#flair.datasets.biomedical) |

0 commit comments

Comments
 (0)