コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CustomerReviewSentencesSentimentModel" /> class.
 /// </summary>
 /// <param name="customerReviewModel">The customer review model.</param>
 /// <param name="sentenceSentimentResults">The sentence sentiment results.</param>
 public CustomerReviewSentencesSentimentModel(
     CustomerReviewModel customerReviewModel,
     IEnumerable <SentenceSentimentResult> sentenceSentimentResults)
     : base(customerReviewModel.CorrelationId)
 {
     this.CustomerReviewModel      = customerReviewModel;
     this.SentenceSentimentResults = sentenceSentimentResults;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="CustomerReviewSentencesTagWeightModel" /> class.
 /// </summary>
 /// <param name="customerReviewModel">The customer review model.</param>
 /// <param name="tagWeightResults">The tag weight result.</param>
 public CustomerReviewSentencesTagWeightModel(
     CustomerReviewModel customerReviewModel,
     IEnumerable <SentenceTagWeightResult> tagWeightResults)
     : base(customerReviewModel.CorrelationId)
 {
     this.CustomerReviewModel = customerReviewModel;
     this.TagWeightResults    = tagWeightResults;
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CustomerReviewSentencesModel"/> class.
 /// </summary>
 /// <param name="customerReviewModel">The customer review model.</param>
 /// <param name="sentences">The sentences.</param>
 public CustomerReviewSentencesModel(CustomerReviewModel customerReviewModel, IEnumerable <string> sentences)
     : base(customerReviewModel.CorrelationId)
 {
     this.CustomerReviewModel = customerReviewModel;
     this.Sentences           = sentences;
 }