The CogOCVMaxCharacterIterator type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| IsEnd | Whether or not this iterator is positioned past the last character in the containing line. | |
| IsFirst | Whether or not this character position is the initial character position within the containing line. | |
| IsInvalid | Whether or not this iterator is NOT positioned at a valid character. If true, attempting to access character-level properties or methods will produce an error. | |
| LinePosition | Indicates the relative position of the containing line within the containing paragraph. Numbering is zero based, so a value of zero indicates that this character resides in the initial line of the containing paragraph. | |
| ParagraphPosition | Indicates the relative position of the containing paragraph within the CogOCVMaxPattern object. Numbering is zero based, so a value of zero indicates that this character resides in the initial paragraph of the CogOCVMaxPattern object. | |
| Position | Indicates the relative position of this character within the containing line. Numbering is zero based, so a value of zero indicates that this is the initial character of the containing line. | |
| VerificationType | Get or set the type of verification to be performed on the associated character position. Possible values are Normal, AlwaysVerified, and Ignore. Normal is standard OCV. In Normal mode a character may be judged Verified, or Confused, or Failed. In AlwaysVerified mode we score every key in the keyset associated with this character position and choose the highest scoring key, always judging the character as Verified. In Ignore mode we do no processing at all for the subject character. In Ignore mode the character is always judged Verified. Note that while this may be viewed as a train-time property, there is an analogous run-time property accessible via the CogOCVMaxRunParams::GetVerificationType(...) and CogOCVMaxRunParams::SetVerificationType(...) methods. While one would typically set the train-time and the run-time values to the same value, that is not always required. One may NOT set the train-time value (this value) to Ignore and then set the run-time value to anything other than Ignore; doing so will cause a run-time error. |
See Also