public static class EntityLabelErrorAnalysis.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
EntityLabelErrorAnalysis |
build() |
EntityLabelErrorAnalysis.Builder |
copy(EntityLabelErrorAnalysis model) |
EntityLabelErrorAnalysis.Builder |
length(Integer length)
Length of text
|
EntityLabelErrorAnalysis.Builder |
offset(Integer offset)
Starting index on text.
|
EntityLabelErrorAnalysis.Builder |
type(String type)
Type of entity text like PER, LOC, GPE, NOPE etc.
|
public EntityLabelErrorAnalysis.Builder type(String type)
Type of entity text like PER, LOC, GPE, NOPE etc.
type
- the value to setpublic EntityLabelErrorAnalysis.Builder offset(Integer offset)
Starting index on text.
offset
- the value to setpublic EntityLabelErrorAnalysis.Builder length(Integer length)
Length of text
length
- the value to setpublic EntityLabelErrorAnalysis build()
public EntityLabelErrorAnalysis.Builder copy(EntityLabelErrorAnalysis model)
Copyright © 2016–2024. All rights reserved.