@@ -28,6 +28,7 @@ public class NluEnrichmentFeatures extends GenericModel {
2828 @ SerializedName ("semantic_roles" )
2929 private NluEnrichmentSemanticRoles semanticRoles ;
3030 private NluEnrichmentRelations relations ;
31+ private NluEnrichmentConcepts concepts ;
3132
3233 /**
3334 * Builder.
@@ -40,6 +41,7 @@ public static class Builder {
4041 private NluEnrichmentCategories categories ;
4142 private NluEnrichmentSemanticRoles semanticRoles ;
4243 private NluEnrichmentRelations relations ;
44+ private NluEnrichmentConcepts concepts ;
4345
4446 private Builder (NluEnrichmentFeatures nluEnrichmentFeatures ) {
4547 keywords = nluEnrichmentFeatures .keywords ;
@@ -49,6 +51,7 @@ private Builder(NluEnrichmentFeatures nluEnrichmentFeatures) {
4951 categories = nluEnrichmentFeatures .categories ;
5052 semanticRoles = nluEnrichmentFeatures .semanticRoles ;
5153 relations = nluEnrichmentFeatures .relations ;
54+ concepts = nluEnrichmentFeatures .concepts ;
5255 }
5356
5457 /**
@@ -142,6 +145,17 @@ public Builder relations(NluEnrichmentRelations relations) {
142145 this .relations = relations ;
143146 return this ;
144147 }
148+
149+ /**
150+ * Set the concepts.
151+ *
152+ * @param concepts the concepts
153+ * @return the NluEnrichmentFeatures builder
154+ */
155+ public Builder concepts (NluEnrichmentConcepts concepts ) {
156+ this .concepts = concepts ;
157+ return this ;
158+ }
145159 }
146160
147161 private NluEnrichmentFeatures (Builder builder ) {
@@ -152,6 +166,7 @@ private NluEnrichmentFeatures(Builder builder) {
152166 categories = builder .categories ;
153167 semanticRoles = builder .semanticRoles ;
154168 relations = builder .relations ;
169+ concepts = builder .concepts ;
155170 }
156171
157172 /**
@@ -239,4 +254,15 @@ public NluEnrichmentSemanticRoles semanticRoles() {
239254 public NluEnrichmentRelations relations () {
240255 return relations ;
241256 }
257+
258+ /**
259+ * Gets the concepts.
260+ *
261+ * An object specifiying the concepts enrichment and related parameters.
262+ *
263+ * @return the concepts
264+ */
265+ public NluEnrichmentConcepts concepts () {
266+ return concepts ;
267+ }
242268}
0 commit comments