NTHypothesis Class Reference
Inherits from | NSObject |
---|---|
Declared in | NTHypothesis.h NTHypothesis.m |
value
The recognized text
@property (nonatomic, strong, readonly) NSString *value
Discussion
The recognized text
Declared In
NTHypothesis.h
pathScore
The path score (def 0.0)
@property (nonatomic, readonly) double pathScore
Discussion
The path score (def 0.0)
Declared In
NTHypothesis.h
posteriorProbability
The posterior probability (def 0.0)
@property (nonatomic, readonly) double posteriorProbability
Discussion
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)isNull
Return 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