Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (24 sloc) 767 Bytes
//
// AvroKeyboard
//
// Created by Rifat Nabi on 6/22/12.
// Copyright (c) 2012 OmicronLab. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface AvroParser : NSObject {
NSString* _vowel;
NSString* _consonant;
NSString* _casesensitive;
NSArray* _patterns;
int _maxPatternLength;
}
+ (AvroParser *)sharedInstance;
- (NSString*)parse:(NSString*)string;
- (NSString*)fix:(NSString*)string;
- (BOOL)isVowel:(unichar)c;
- (BOOL)isConsonant:(unichar)c;
- (BOOL)isPunctuation:(unichar)c;
- (BOOL)isCaseSensitive:(unichar)c;
- (BOOL)isExact:(NSString*) needle heystack:(NSString*)heystack start:(int)start end:(int)end not:(BOOL)not;
- (unichar)smallCap:(unichar) letter;
@end