luxlabs header browser preview


@class NSString, NSIndexSet, NSArray;

@interface CHTokenizedTextResult : NSObject <NSCopying, NSMutableCopying, NSSecureCoding> {
    NSArray *_tokenColumns;
    long long _recognizerGenerationIdentifier;
    long long _precedingLineBreaks;
    long long _changeableCount;
    int _baseWritingDirection;
}

@property (class, readonly) BOOL supportsSecureCoding;

@property (readonly, nonatomic) long long tokenColumnCount;
@property (readonly, nonatomic) long long changeableTokenColumnCount;
@property (readonly, copy, nonatomic) NSString *trailingSeparator;
@property (readonly, nonatomic) NSIndexSet *strokeIndexes;
@property (readonly, nonatomic) BOOL isMinimalDrawingResult;
@property (readonly, nonatomic) int baseWritingDirection;
@property (readonly, copy, nonatomic) NSArray *transcriptionPaths;
@property (readonly, copy, nonatomic) NSArray *transcriptionPathScores;
@property (readonly, copy, nonatomic) NSString *topTranscription;
@property (readonly, copy, nonatomic) NSString *rawTranscription;
@property (readonly, nonatomic) NSString *recognizerDebugDescription;

+ (id)loadFromFile:(id)a0;
+ (id)compressResult:(id)a0 atColumnIndexes:(id)a1;
+ (id)resultRestoringRawPathInResult:(id)a0;
+ (BOOL)areTokenRowsEquivalent:(id)a0 otherRow:(id)a1;
+ (id)extendedToken:(id)a0 withStrokeIndexSet:(id)a1 alignmentScore:(double)a2 bounds:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a3;
+ (long long)mergeTokenRow:(id)a0 intoUniqueRows:(id)a1;
+ (id)resultsBySwapping:(id)a0 swappableColumns:(id)a1 locales:(id)a2 topLocaleIndex:(long long)a3 topLocale:(id)a4;
+ (id)swappableColumnIndexesInResults:(id)a0 locales:(id)a1 topLocaleIndex:(long long)a2 swappableIndex:(long long)a3 shouldReverseSwappableColumns:(BOOL)a4;
+ (id)tokenizedTextResultFromResults:(id)a0 shouldPerformStrictFiltering:(BOOL)a1 doesTopLocaleRequireSpecialHandling:(BOOL)a2 hasSwap:(BOOL)a3;
+ (id)tokenizedTextResultWithString:(id)a0 strokeIndexes:(id)a1 bounds:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a2 trailingSeparator:(id)a3 recognizerGenerationIdentifier:(long long)a4;

- (id)init;
- (unsigned long long)hash;
- (void)encodeWithCoder:(id)a0;
- (id)description;
- (BOOL)isValid;
- (void).cxx_destruct;
- (BOOL)isEqual:(id)a0;
- (id)writeToFile;
- (id)mutableCopyWithZone:(struct _NSZone { } *)a0;
- (id)initWithCoder:(id)a0;
- (id)copyWithZone:(struct _NSZone { } *)a0;
- (id)strokeIndexesForColumnsInRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0;
- (void)enumerateTokensInTranscriptionPath:(id)a0 columnRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1 tokenProcessingBlock:(id /* block */)a2;
- (id)precedingSeparatorForToken:(id)a0;
- (id)tokenRowsAtColumnIndex:(long long)a0;
- (id)tokensInTranscriptionPath:(id)a0 atColumnIndex:(long long)a1;
- (BOOL)isPathOriginal:(id)a0;
- (double)averageTokenRecognitionScoreForColumnRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0;
- (id)changeableColumnCountUpdatedResultWithHistory:(id)a0 phraseLexicon:(struct _LXLexicon { } *)a1 maxPhraseLength:(long long)a2;
- (id)commonTopStrokeSetsWithResult:(id)a0 shouldReverseOtherColumns:(BOOL)a1;
- (void)enumerateTokensInTopTranscriptionPathWithBlock:(id /* block */)a0;
- (BOOL)hasTextReplacementsInColumnRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0;
- (double)heuristicTextScoreForColumnRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0;
- (id)initWithBestPathTokens:(id)a0 pathProbabilities:(id)a1 trailingSeparator:(id)a2 recognizerGenerationIdentifier:(long long)a3;
- (id)initWithBestPathTokens:(id)a0 pathProbabilities:(id)a1 trailingSeparator:(id)a2 recognizerGenerationIdentifier:(long long)a3 changeableColumnCount:(long long)a4;
- (id)initWithTokenColumns:(id)a0 transcriptionPaths:(id)a1 scores:(id)a2 recognizerGenerationIdentifier:(long long)a3;
- (id)initWithTokenColumns:(id)a0 transcriptionPaths:(id)a1 scores:(id)a2 recognizerGenerationIdentifier:(long long)a3 isMinimalDrawingResult:(BOOL)a4 baseWritingDirection:(int)a5;
- (id)initWithTokenColumns:(id)a0 transcriptionPaths:(id)a1 scores:(id)a2 trailingSeparator:(id)a3 recognizerGenerationIdentifier:(long long)a4;
- (id)initWithTokenColumns:(id)a0 transcriptionPaths:(id)a1 scores:(id)a2 trailingSeparator:(id)a3 recognizerGenerationIdentifier:(long long)a4 changeableColumnCount:(long long)a5;
- (id)initWithTokenColumns:(id)a0 transcriptionPaths:(id)a1 scores:(id)a2 trailingSeparator:(id)a3 recognizerGenerationIdentifier:(long long)a4 changeableColumnCount:(long long)a5 isMinimalDrawingResult:(BOOL)a6 baseWritingDirection:(int)a7;
- (BOOL)isEqualToTokenizedTextResult:(id)a0;
- (struct { double x0; double x1; })languageFitnessForLocale:(id)a0 recognitionMode:(int)a1;
- (id)lastTokenStrokeIndexes;
- (id)modifiedResultWithBestPathTokens:(id)a0 pathProbabilities:(id)a1;
- (id)phraseCaseCorrectedResultWithHistory:(id)a0 phraseLexicon:(struct _LXLexicon { } *)a1 maxPhraseLength:(long long)a2;
- (long long)precedingLineBreaks;
- (id)precedingSeparatorForRawTranscriptionPath;
- (id)precedingSeparatorForTopTranscriptionPath;
- (long long)recognizerGenerationIdentifier;
- (BOOL)shouldFilterOutStringForToken:(id)a0 isGibberish:(BOOL *)a1;
- (id)strokeIndexSetsInPath:(id)a0 columnRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1;
- (id)subResultWithColumnRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0;
- (id)textRecognitionResultArray;
- (id)textRecognitionResultArrayGivenHistory:(id)a0;
- (id)tokenAtLocation:(struct { long long x0; long long x1; long long x2; })a0;
- (id)tokenColumns;
- (id)tokenizedResultWithFilteredPaths:(double)a0;
- (id)tokensFromTopTranscriptionWithCharacterRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0;
- (id)transcriptionWithPath:(id)a0 columnRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1 filterLowConfidence:(BOOL)a2;
- (id)transcriptionWithPath:(id)a0 columnRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1 filterLowConfidence:(BOOL)a2 allowPrecedingSeparator:(BOOL)a3;
- (id)transcriptionWithPath:(id)a0 columnRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1 filterLowConfidence:(BOOL)a2 excludeGibberish:(BOOL)a3 allowPrecedingSeparator:(BOOL)a4 rejectionRate:(double *)a5 tokenProcessingBlock:(id /* block */)a6;
- (id)transcriptionWithPath:(id)a0 columnRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1 filterLowConfidence:(BOOL)a2 excludeGibberish:(BOOL)a3 rejectionRate:(double *)a4 tokenProcessingBlock:(id /* block */)a5;
- (id)writeToFileInFolder:(id)a0 basename:(id)a1;

@end