Class BaseScoredResponseValue<T>
- Namespace
- Textkernel.Tx.Models.API.Matching
- Assembly
- Textkernel.Tx.SDK.dll
A base class for all scored responses
public class BaseScoredResponseValue<T> : BaseSearchMatchResponseValue<T>
Type Parameters
T
The type of match result
- Inheritance
-
BaseScoredResponseValue<T>
- Derived
- Inherited Members
Properties
AppliedCategoryWeights
The weights that were actually used for scoring. These are either
1) if the PreferredCategoryWeights are specified in the request, these are used (with any adjustments for non-applicable categories)
2) otherwise these are simply the SuggestedCategoryWeights
See also:
PreferredCategoryWeights
PreferredCategoryWeights
public CategoryWeights AppliedCategoryWeights { get; set; }
Property Value
SuggestedCategoryWeights
The weights suggested based solely on the data in the source document.
NOTE: these should only be used as a fallback or initial value. Your system/users
should have the ability to adjust/override these (in the PreferredCategoryWeights in the request)
See also:
PreferredCategoryWeights
PreferredCategoryWeights
public CategoryWeights SuggestedCategoryWeights { get; set; }