]> git.saurik.com Git - iphone-api.git/blob - UIKit/KBWordSearch.h
Minor commit for Optimo.
[iphone-api.git] / UIKit / KBWordSearch.h
1 /*
2 * Generated by class-dump 3.1.2.
3 *
4 * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2007 by Steve Nygard.
5 */
6
7 #import <Foundation/NSObject.h>
8
9 @class NSData, NSMutableArray, NSString, ShiftMatcher, WordInfo;
10
11 @interface KBWordSearch : NSObject
12 {
13 WordInfo *_learnDict[200];
14 int _dictTopIndex;
15 int _dictBottomIndex;
16 NSMutableArray *_abPhoneticNamePairs;
17 BOOL _isRegisteringABEntries;
18 int _maxCands;
19 NSMutableArray *_candidates;
20 NSMutableArray *_emptyCandidates;
21 int _lastConnection[10];
22 int _lastConnections;
23 int _searchMode;
24 ShiftMatcher *_css[100];
25 int _ncands;
26 int _linkInd;
27 int *_exactMatchArray;
28 int _exactMatchCapacity;
29 int _exactMatchCount;
30 int _prefixMatchArray[10];
31 int _prefixMatchCount;
32 int _expandMatchStack[10];
33 int _numberOfConnectionCands[10];
34 CDAnonymousStruct8 *_expandExactArray;
35 int _expandExactCapacity;
36 int _expandExactCount;
37 CDAnonymousStruct8 _expandPrefixArray[5];
38 int _expandPrefixCount;
39 char *_wordlist;
40 struct _DictEntry *_dict;
41 NSData *_dictData;
42 void *_dictDataBytes;
43 NSString *_deletedString;
44 NSString *_deletedPat;
45 int *_dictLink;
46 int *_connectionLink;
47 void *_candTrie;
48 BOOL _isAddingExactMatch;
49 BOOL _youTubeMode;
50 BOOL _insertInputStringInCandidate;
51 BOOL _kanaMode;
52 NSString *_currentInputMode;
53 BOOL _learningDictSaved;
54 }
55
56 - (id)a_matcher:(char *)fp8 withAmbiguity:(int)fp12;
57 - (id)c_matcher:(char *)fp8 withAmbiguity:(int)fp12;
58 - (int)dictHash:(char *)fp8;
59 - (id)learndicFileName;
60 - (void)_loadLearningDictionary;
61 - (void)saveLearningDictionary;
62 - (void)registerNamesFromAddressBook;
63 - (void)reallocExactMatchArray;
64 - (void)reallocExpandExactArray;
65 - (id)initKBWordSearch:(BOOL)fp8 dictPath:(id)fp12;
66 - (void)dealloc;
67 - (int)addCandidate:(char *)fp8 yomi:(char *)fp12 inConnection:(int)fp16 outConnection:(int)fp20 nCands:(int)fp24 weight:(int)fp28 type:(int)fp32;
68 - (BOOL)noDupWithArray:(int *)fp8 arrayCount:(int)fp12 index:(int)fp16;
69 - (void)addNeededCandidates;
70 - (BOOL)generateCand1:(int)fp8 connection:(int)fp12 matchedLen:(int)fp16 level:(int)fp20 patLen:(int)fp24;
71 - (BOOL)generateCand0:(int)fp8 matchedLen:(int)fp12 level:(int)fp16;
72 - (id)getCandidates0:(id)fp8 fixPat:(id)fp12;
73 - (id)getCandidates1:(id)fp8 fixPat:(id)fp12;
74 - (const char *)yomiInEngineRepresentation:(id)fp8;
75 - (id)wildcardString;
76 - (id)getCandidates:(id)fp8;
77 - (id)getCandidates:(id)fp8 fixPat:(id)fp12;
78 - (void)registABEntriesWithWord:(id)fp8 andYomi:(id)fp12;
79 - (void)regist:(id)fp8 withYomi:(id)fp12 inConnection:(int)fp16 outConnection:(int *)fp20 outConnections:(int)fp24;
80 - (id)lastWord;
81 - (void)setSearchMode:(int)fp8;
82 - (void)setYouTubeMode:(BOOL)fp8;
83 - (void)setInsertInputStringInCandidate:(BOOL)fp8;
84 - (void)setMaxCands:(int)fp8;
85 - (void)setDeletedString:(id)fp8;
86 - (id)deletedString;
87 - (void)setDeletedPat:(id)fp8;
88 - (id)deletedPat;
89 - (void)cancel;
90 - (BOOL)isCancelled;
91 - (BOOL)checkGSEventQueueContainsMouseEvent;
92 - (void)getCandidatesAsyncForString:(id)fp8 target:(id)fp12 action:(SEL)fp16;
93 - (void)_getCandidatesOnThread:(id)fp8;
94
95 @end
96