-
Notifications
You must be signed in to change notification settings - Fork 2
/
_pkgdown.yml
354 lines (326 loc) · 12.4 KB
/
_pkgdown.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
url: https://davidycliao.github.io/flaiR/
home:
title: An R Wrapper for Accessing Flair NLP Library
links:
- text: Discussion
href: https://github.com/davidycliao/flaiR/discussions
- text: flair in Python
href: https://flairnlp.github.io
- text: "Text and Policy Research Group @ UCD"
href: https://text-and-policy.com
- text: "The Connected_Politics Lab @ UCD"
href: https://www.ucd.ie/connected_politics/
- text: "Centre for Artificial Intelligence in Government @ UoBirmingham"
href: https://www.birmingham.ac.uk/research/centres-institutes/centre-for-artificial-intelligence-in-government
- text: "ParlSpeech: Legislative Speeches in the Key Parliamentary Democracies"
href: https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/L4OAKN
- text: "ParlEE: Sentence-level Speeches of Six EU Legislative Chambers"
href: https://pureportal.strath.ac.uk/en/datasets/parlee-plenary-speeches-v2-data-set-annotated-full-text-of-151-mi
reference:
- title: flair
desc: <div class="text-justify"></div>
- contents:
- import_flair
- title: flair_data
desc: <div class="text-justify">Accessing flair.data module from flair. </div>
- contents:
- flair_data
# - flair_data()$BoundingBox
# - flair_data()$Dictionary
# - flair_data()$Label
# - flair_data()$DataPoint
# - flair_data()$Token
# - flair_data()$Span
# - flair_data()$Relation
# - flair_data()$Sentence
# - flair_data()$DataPair
# - flair_data()$Image
# - flair_data()$Corpus
# - flair_data()$MultiCorpus
# - flair_data()$FlairDataset
# - flair_data()$ConcatFlairDataset
# - flair_data()$iob2()
# - flair_data()$randomly_split_into_two_datasets()
# - flair_data()$get_spans_from_bio()
- title: flair_datasets
desc: <div class="text-justify">Accessing flair.datasets module from flair.</div>
- contents:
- flair_datasets
- flair_data.Sentence
# - flair_datasets()$base
# - flair_datasets()$biomedical
# - flair_datasets()$document_classification
# - flair_datasets()$entity_linking
# - flair_datasets()$ocr
# - flair_datasets()$relation_extraction
# - flair_datasets()$sequence_labeling
# - flair_datasets()$text_image
# - flair_datasets()$text_text
# - flair_datasets()$treebanks
- title: flair_embeddings
desc: <div class="text-justify">Accessing flair.embeddings module from flair. </div>
- contents:
- flair_embeddings
- flair_embeddings.FlairEmbeddings
- flair_embeddings.TransformerDocumentEmbeddings
- flair_embeddings.TransformerWordEmbeddings
- flair_embeddings.WordEmbeddings
- flair_embeddings.StackedEmbeddings
# - flair_embeddings()$base
# + flair_embeddings()$Embeddings
# + flair_embeddings()$ScalarMix
# + flair_embeddings()$DocumentEmbeddings
# + flair_embeddings()$TokenEmbeddings
# + flair_embeddings()$register_embeddings()
# + flair_embeddings()$load_embeddings()
# - flair_embeddings()$document
# + flair_embeddings()$DocumentPoolEmbeddings
# + flair_embeddings()$DocumentRNNEmbeddings
# + flair_embeddings()$DocumentLSTMEmbeddings
# + flair_embeddings()$DocumentGRUEmbeddings
# + flair_embeddings()$DocumentCNNEmbeddings
# + flair_embeddings()$DocumentMeanEmbeddings
# + flair_embeddings()$DocumentLMEmbeddings
# + flair_embeddings()$SentenceTransformerDocumentEmbeddings
# + flair_embeddings()$DocumentCNNEmbeddings()
# - flair_embeddings()$image
# + flair_embeddings()$ImageEmbeddings
# + flair_embeddings()$IdentityImageEmbeddings
# + flair_embeddings()$PrecomputedImageEmbeddings
# + flair_embeddings()$NetworkImageEmbeddings
# + flair_embeddings()$ConvTransformNetworkImageEmbeddings
# - flair_embeddings.legacy
# + flair_embeddings()$ELMoEmbeddings
# + flair_embeddings()$CharLMEmbeddings
# + flair_embeddings()$DocumentMeanEmbeddings
# + flair_embeddings()$DocumentLSTMEmbeddings
# - flair_embeddings()$token
# + flair_embeddings()$WordEmbeddings
# + flair_embeddings()$TransformerWordEmbeddings
# + flair_embeddings()$StackedEmbeddings
# + flair_embeddings()$CharacterEmbeddings
# + flair_embeddings()$FlairEmbeddings
# + flair_embeddings()$PooledFlairEmbeddings
# + flair_embeddings()$FastTextEmbeddings
# + flair_embeddings()$OneHotEmbeddings
# + flair_embeddings()$HashEmbeddings
# + flair_embeddings()$MuseCrosslingualEmbeddings
# + flair_embeddings()$BytePairEmbeddings
# + flair_embeddings()$NILCEmbeddings
# - flair_embeddings()$transformer
# + flair_embeddings()$transformer$pad_sequence_embeddings
# + flair_embeddings()$transformer$truncate_hidden_states
# + flair_embeddings()$transformer$combine_strided_tensors
# + flair_embeddings()$transformer$fill_masked_elements
# + flair_embeddings()$transformer$insert_missing_embeddings
# + flair_embeddings()$transformer$insert_missing_embeddings
# + flair_embeddings()$transformer$fill_mean_token_embeddings
# + flair_embeddings()$transformer$document_mean_pooling
# + flair_embeddings()$transformer$document_max_pooling
# + flair_embeddings()$transformer$remove_special_markup
# + flair_embeddings()$transformer$TransformerBaseEmbeddings
# + flair_embeddings()$transformer$TransformerOnnxEmbeddings
# + flair_embeddings()$transformer$TransformerJitEmbeddings
# + flair_embeddings()$transformer$TransformerJitWordEmbeddings
# + flair_embeddings()$transformer$TransformerJitDocumentEmbeddings
# + flair_embeddings()$transformer$TransformerOnnxWordEmbeddings
# + flair_embeddings()$transformer$TransformerOnnxDocumentEmbeddings
# + flair_embeddings()$transformer$TransformerEmbeddings
- title: flair_nn
desc: <div class="text-justify">Accessing flair.nn module from flair.</div>
- contents:
- flair_nn
- flair_nn.Classifier
# - flair_nn()$LockedDropout
# - flair_nn()$WordDropout
# - flair_nn()$Classifier
# - flair_nn()$DefaultClassifier
# - flair_nn()$Model
# - flair_nn()$PrototypicalDecoder
# - flair_nn()$LabelVerbalizerDecoder
- title: flair_trainers
desc: <div class="text-justify">Accessing flair.trainers module from flair.</div>
- contents:
- flair_trainers
# - flair_trainers()$ModelTrainer
# - flair_trainers()$LanguageModelTrainer
# - flair_trainers()$TextCorpus
# - title: flair_tokenization Module
# desc: <div class="text-justify">Tokenizers are used to represent algorithms and models to split plain text into individual tokens or words. All subclasses should overwrite tokenize(), which splits the given plain text into tokens. Moreover, subclasses may overwrite name(), returning a unique identifier representing the tokenizer’s configuration.</div>
# - flair_tokenization()$Tokenizer
# - flair_tokenization()$SpaceTokenizer
# - flair_tokenization()$SegtokTokenizer
# - flair_tokenization()$SpacyTokenizer
# - flair_tokenization()$JapaneseTokenizer
# - flair_tokenization()$SciSpacyTokenizer
# - flair_tokenization()$TokenizerWrapper
# - flair_tokenization()$SciSpacyTokenizer
- title: flair_splitter
desc: Accessing flair.splitter module from flair.
- contents:
- flair_splitter
- flair_splitter.SegtokSentenceSplitter
# - flair_splitter()$SentenceSplitter
# - flair_splitter()$SegtokSentenceSplitter
# - flair_splitter()$SpacySentenceSplitter
# - flair_splitter()$SciSpacySentenceSplitter
# - flair_splitter()$SciSpacySentenceSplitter
# - flair_splitter()$TagSentenceSplitter
# - flair_splitter()$NewlineSentenceSplitter
# - flair_splitter()$NoSentenceSplitter
- title: flair_models
desc: <div class="text-justify">Accessing flair.models module from flair. </div>
- contents:
- flair_models
- flair_models.TextClassifier
- flair_models.Sequencetagger
# - flair_models()$SpanClassifier
# - flair_models()$LanguageModel
# - flair_models()$Lemmatizer
# - flair_models()$TextPairClassifier
# - flair_models()$TextPairRegressor
# - flair_models()$RelationClassifier
# - flair_models()$RelationExtractor
# - flair_models()$RegexpTagger
# - flair_models()$SequenceTagger
# - flair_models()$TokenClassifier
# - flair_models()$WordTagger
# - flair_models()$FewshotClassifier
# - flair_models()$TARSClassifier
# - flair_models()$TARSTagger
# - flair_models()$TextClassifier
# - flair_models()$TextRegressor
# - flair_models()$ClusteringModel
# - flair_models()$MultitaskModel
- title: Expanded Feats
desc: <div class="text-justify">Extended functionality for working with three major functions to extract features in data.table.</div>
- contents:
- load_tagger_ner
- load_tagger_pos
- load_tagger_sentiments
- get_entities
- get_entities_batch
- get_pos
- get_pos_batch
- get_sentiments
- get_sentiments_batch
- title: Toolbox
desc: <div class="text-justify"> flairR utilities</div>
- contents:
- flair_device
- highlight_text
- map_entities
- embeddings_to_matrix
- clear_flair_cache
- show_flair_cache
- uninstall_python_package
- install_python_package
- title: Training Dataset
desc: <div class="text-justify"> Training dataset for tutorial</div>
- contents:
- cc_muller
- gs_score
- hatespeech_zh_tw
- de_immigration
- uk_immigration
- statements
authors:
Yen-Chieh Liao:
href: https://davidycliao.github.io
Stefan Müller:
href: https://muellerstefan.net
template:
package: tidytemplate
bootstrap: 5
includes:
in_header: |
<script defer data-domain="{YOUR DOMAIN},all.tidyverse.org" src="https://plausible.io/js/plausible.js"></script>
params:
ganalytics: G-3ZG40PPG98
css: [man/pkgdown/extra.css]
development:
mode: auto
navbar:
type: inverse
left:
- icon: fa-home
href: index.html
- icon: fa-rocket
text: Quick Start
menu:
- text: "NLP Tasks"
href: articles/quickstart.html#nlp-tasks
- text: "Class and Ojbect"
href: articles/quickstart.html#class-and-ojbect
- text: "More Details about Installation"
href: articles/quickstart.html#more-details-about-installation
- icon: fa-project-diagram
text: Tutorial
menu:
- text: "Introduction"
href: articles/tutorial.html#introduction
- text: "Sentence and Token"
href: articles/tutorial.html#sentence-and-token
- text: "Sequence Taggings"
href: articles/tutorial.html#sequence-taggings
- text: "Performing NER Tasks"
href: articles/tutorial.html#performing-ner-tasks
- text: "Flair Embeddings"
href: articles/tutorial.html#flair-embedding
- text: "Training a Binary Classifier"
href: articles/tutorial.html#training-a-binary-classifier
- text: "Training RNNs"
href: articles/tutorial.html#training-rnns
- text: "Finetune Transformers "
href: articles/tutorial.html#finetune-transformers
- icon: fa-newspaper-o
text: Expanded Feats
menu:
- text: "Part-of-speech Tagging"
href: articles/get_pos.html
- text: "Named Entity Recognition"
href: articles/get_entities.html
- text: "Tagging Sentiment"
href: articles/get_sentiments.html
- text: "The Coloring Entities"
href: articles/highlight_text.html
- icon: fa-file-code-o
text: Reference
menu:
- text: "All Function Reference"
href: reference/index.html
# - text: "The flair Module"
# href: reference/index.html#the-flair-module
# - text: "The flair_embeddings Module"
# href: reference/index.html#the-flair-embeddings-module
# - text: "The flair_data Module"
# href: reference/index.html#the-flair-data-module
# - text: "The flair_nn Module"
# href: reference/index.html#the-flair-nn-module
# - text: "The flair_trainers Module"
# href: reference/index.html#the-flair-trainers-module
# - text: "The flair_splitter Module"
# href: reference/index.html#the-flair-splitter-module
# - text: "The flair_models Module"
# href: reference/index.html#the-flair-models-module
# - text: "The flair_datasets Module"
# href: reference/index.html#the-flair-datasets-module
# - text: "The Pre-trianed Models for NLP Tasks"
# href: articles/flair_models.html
# - text: "The Wordembeddings in Flair"
# href: articles/transformer_wordembeddings.html
- icon: fa-newspaper-o
text: News
menu:
- text: "0.0.6"
href: news/index.html#flair-006-2023-10-29
- text: "0.0.5"
href: news/index.html#flair-005-2023-10-01
- text: "0.0.3"
href: news/index.html#flair-003-2023-09-10
- text: "0.0.1"
href: news/index.html#flair-001-development-version
right:
- icon: fa-github fa-lg
text: GitHub
href: https://github.com/davidycliao/flaiR