public static class CreateModelOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
CreateModelOptions.Builder |
baseModelId(String baseModelId)
Base model id.
|
CreateModelOptions |
build()
Builds the model creation options.
|
CreateModelOptions.Builder |
forcedGlossary(File forcedGlossary)
With forced glossary.
|
CreateModelOptions.Builder |
monolingualCorpus(File monolingualCorpus)
Sets the monolingual corpus.
|
CreateModelOptions.Builder |
name(String name)
Sets the name.
|
CreateModelOptions.Builder |
parallelCorpus(File parallelCorpus)
Sets the parallel corpus.
|
public CreateModelOptions.Builder baseModelId(String baseModelId)
baseModelId
- the base model idpublic CreateModelOptions build()
public CreateModelOptions.Builder forcedGlossary(File forcedGlossary)
forcedGlossary
- the forced glossarypublic CreateModelOptions.Builder monolingualCorpus(File monolingualCorpus)
monolingualCorpus
- the monolingual corpuspublic CreateModelOptions.Builder name(String name)
name
- the namepublic CreateModelOptions.Builder parallelCorpus(File parallelCorpus)
parallelCorpus
- the parallel corpusCopyright © 2015–2016 IBM Watson. All rights reserved.