public static class EntityListDataset.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
EntityListDataset |
build() |
EntityListDataset.Builder |
copy(EntityListDataset model) |
EntityListDataset.Builder |
entityList(List<EntityList> entityList)
Array of entityLists
|
EntityListDataset.Builder |
referenceExamples(List<String> referenceExamples)
List of sentences referencing 1 or more entityType matching those defined in the linked
entityLists, used to improve accuracy by providing model training context of where/how an
entity may appear in a sentence.
|
public EntityListDataset.Builder referenceExamples(List<String> referenceExamples)
List of sentences referencing 1 or more entityType matching those defined in the linked
entityLists, used to improve accuracy by providing model training context of where/how an
entity may appear in a sentence. EntityTypes referenced in sentences should be written in
all caps surrounded by angled braces (i.e “
referenceExamples
- the value to setpublic EntityListDataset.Builder entityList(List<EntityList> entityList)
Array of entityLists
entityList
- the value to setpublic EntityListDataset build()
public EntityListDataset.Builder copy(EntityListDataset model)
Copyright © 2016–2024. All rights reserved.