-
public final class TestBuildA build used to test the model.
-
-
Field Summary
Fields Modifier and Type Field Description private final Id<ApplicationDefinition>applicationIdprivate final Localelanguageprivate final InstantstartDateprivate final DurationbuildModelDurationprivate final DurationtestSentencesDurationprivate final IntegernbSentencesInModelprivate final IntegernbSentencesTestedprivate final IntegernbErrorsprivate final IntegerintentErrorsprivate final IntegerentityErrorsprivate final Map<String, Integer>nbSentencesTestedByIntentprivate final Map<String, Integer>intentErrorsByIntentprivate final Map<String, Integer>entityErrorsByIntent
-
Constructor Summary
Constructors Constructor Description TestBuild(Id<ApplicationDefinition> applicationId, Locale language, Instant startDate, Duration buildModelDuration, Duration testSentencesDuration, Integer nbSentencesInModel, Integer nbSentencesTested, Integer nbErrors, Integer intentErrors, Integer entityErrors, Map<String, Integer> nbSentencesTestedByIntent, Map<String, Integer> intentErrorsByIntent, Map<String, Integer> entityErrorsByIntent)
-
Method Summary
Modifier and Type Method Description final Id<ApplicationDefinition>component1()final Localecomponent2()final Instantcomponent3()final Durationcomponent4()final Durationcomponent5()final Integercomponent6()final Integercomponent7()final Integercomponent8()final Integercomponent9()final Integercomponent10()final Map<String, Integer>component11()final Map<String, Integer>component12()final Map<String, Integer>component13()final TestBuildcopy(Id<ApplicationDefinition> applicationId, Locale language, Instant startDate, Duration buildModelDuration, Duration testSentencesDuration, Integer nbSentencesInModel, Integer nbSentencesTested, Integer nbErrors, Integer intentErrors, Integer entityErrors, Map<String, Integer> nbSentencesTestedByIntent, Map<String, Integer> intentErrorsByIntent, Map<String, Integer> entityErrorsByIntent)final Id<ApplicationDefinition>getApplicationId()The application id to test. final LocalegetLanguage()The tested language. final InstantgetStartDate()Start of the build. final DurationgetBuildModelDuration()Duration of the build. final DurationgetTestSentencesDuration()Duration of sentences tests. final IntegergetNbSentencesInModel()Number of sentences included in the model. final IntegergetNbSentencesTested()Number of sentences tested. final IntegergetNbErrors()Number of errors. final IntegergetIntentErrors()Number of intent errors. final IntegergetEntityErrors()Number of entity errors final Map<String, Integer>getNbSentencesTestedByIntent()Number of sentences tested by intent. final Map<String, Integer>getIntentErrorsByIntent()Number of intent errors by intent. final Map<String, Integer>getEntityErrorsByIntent()Number of entity errors by intent. -
-
Constructor Detail
-
TestBuild
TestBuild(Id<ApplicationDefinition> applicationId, Locale language, Instant startDate, Duration buildModelDuration, Duration testSentencesDuration, Integer nbSentencesInModel, Integer nbSentencesTested, Integer nbErrors, Integer intentErrors, Integer entityErrors, Map<String, Integer> nbSentencesTestedByIntent, Map<String, Integer> intentErrorsByIntent, Map<String, Integer> entityErrorsByIntent)
-
-
Method Detail
-
component1
final Id<ApplicationDefinition> component1()
-
component2
final Locale component2()
-
component3
final Instant component3()
-
component4
final Duration component4()
-
component5
final Duration component5()
-
component6
final Integer component6()
-
component7
final Integer component7()
-
component8
final Integer component8()
-
component9
final Integer component9()
-
component10
final Integer component10()
-
component11
final Map<String, Integer> component11()
-
component12
final Map<String, Integer> component12()
-
component13
final Map<String, Integer> component13()
-
copy
final TestBuild copy(Id<ApplicationDefinition> applicationId, Locale language, Instant startDate, Duration buildModelDuration, Duration testSentencesDuration, Integer nbSentencesInModel, Integer nbSentencesTested, Integer nbErrors, Integer intentErrors, Integer entityErrors, Map<String, Integer> nbSentencesTestedByIntent, Map<String, Integer> intentErrorsByIntent, Map<String, Integer> entityErrorsByIntent)
-
getApplicationId
final Id<ApplicationDefinition> getApplicationId()
The application id to test.
-
getLanguage
final Locale getLanguage()
The tested language.
-
getStartDate
final Instant getStartDate()
Start of the build.
-
getBuildModelDuration
final Duration getBuildModelDuration()
Duration of the build.
-
getTestSentencesDuration
final Duration getTestSentencesDuration()
Duration of sentences tests.
-
getNbSentencesInModel
final Integer getNbSentencesInModel()
Number of sentences included in the model.
-
getNbSentencesTested
final Integer getNbSentencesTested()
Number of sentences tested.
-
getNbErrors
final Integer getNbErrors()
Number of errors.
-
getIntentErrors
final Integer getIntentErrors()
Number of intent errors.
-
getEntityErrors
final Integer getEntityErrors()
Number of entity errors
-
getNbSentencesTestedByIntent
final Map<String, Integer> getNbSentencesTestedByIntent()
Number of sentences tested by intent.
-
getIntentErrorsByIntent
final Map<String, Integer> getIntentErrorsByIntent()
Number of intent errors by intent.
-
getEntityErrorsByIntent
final Map<String, Integer> getEntityErrorsByIntent()
Number of entity errors by intent.
-
-
-
-