Package com.oracle.bmc.aispeech.model
Class EntityListDataset.Builder
- java.lang.Object
-
- com.oracle.bmc.aispeech.model.EntityListDataset.Builder
-
- Enclosing class:
- EntityListDataset
public static class EntityListDataset.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EntityListDataset
build()
EntityListDataset.Builder
copy(EntityListDataset model)
EntityListDataset.Builder
entityList(List<EntityList> entityList)
Array of entityListsEntityListDataset.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.
-
-
-
Method Detail
-
referenceExamples
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 “
” if entityType=patient) - Parameters:
referenceExamples
- the value to set- Returns:
- this builder
-
entityList
public EntityListDataset.Builder entityList(List<EntityList> entityList)
Array of entityLists- Parameters:
entityList
- the value to set- Returns:
- this builder
-
build
public EntityListDataset build()
-
copy
public EntityListDataset.Builder copy(EntityListDataset model)
-
-