NTHypothesis Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | NTHypothesis.h NTHypothesis.m |
value
The recognized text
@property (nonatomic, strong, readonly) NSString *valueDiscussion
The recognized text
Declared In
NTHypothesis.h
pathScore
The path score (def 0.0)
@property (nonatomic, readonly) double pathScoreDiscussion
The path score (def 0.0)
Declared In
NTHypothesis.h
posteriorProbability
The posterior probability (def 0.0)
@property (nonatomic, readonly) double posteriorProbabilityDiscussion
The posterior probability (def 0.0)
Declared In
NTHypothesis.h
– initWithValue:score:probability:
- (instancetype)initWithValue:(NSString *)value score:(double)score probability:(double)probability– isNull
Whether this is a null hypothesis
- (BOOL)isNullReturn Value
YES if null, NO otherwise
Discussion
Whether this is a null hypothesis
Declared In
NTHypothesis.h
+ hypothesis:score:probability:
+ (NTHypothesis *)hypothesis:(NSString *)value score:(double)score probability:(double)probability