flair.data#
Dataset as a concatenation of multiple datasets. |
|
The main object in Flair for holding a dataset used for training and testing. |
|
Type variable. |
|
Type variable. |
|
Type variable. |
|
This is the parent class of all data points in Flair. |
|
This class holds a dictionary that maps strings to IDs, used to generate one-hot encodings of strings. |
|
A Concept as part of a knowledgebase or ontology. |
|
This class represents a label. |
|
A Sentence is a central object in Flair that represents either a single sentence or a whole text. |
|
This class represents one textual span consisting of Tokens. |
|
Type variable. |
|
alias of |
|
This class represents one word in a tokenized sentence. |
|
Shuffles a dataset and splits into two subsets. |