Skip to content

Commit

Permalink
GH-316: explanations
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Akbik committed Dec 19, 2018
1 parent 1ff4f35 commit be04964
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/docs/TUTORIAL_1_BASICS.md
Expand Up @@ -103,7 +103,7 @@ This should print:
The grass is green <color> .
```

Each tag is of class Label which next to the value has a score indicating confidence. Print like this:
Each tag is of class `Label` which next to the value has a score indicating confidence. Print like this:

```python
from flair.data import Label
Expand Down Expand Up @@ -141,7 +141,7 @@ sentence.add_labels(['sports', 'world cup'])
sentence = Sentence('France is the current world cup winner.', labels=['sports', 'world cup'])
```

Labels are also of the Label class. So, you can print a sentence's labels like this:
Labels are also of the `Label` class. So, you can print a sentence's labels like this:

```python
sentence = Sentence('France is the current world cup winner.', labels=['sports', 'world cup'])
Expand Down

0 comments on commit be04964

Please sign in to comment.