Latest 1.0.1
Homepage https://github.com/cwimberger/ctfuzzysearch
License MIT
Platforms ios , requires ARC
Authors

CTFuzzySearch is a lightweight framework for fast and fuzzy string searching.

This repository contains the CTFuzzySearch engine and example usage.

Code Sample

This minimalistic code sample should get you started within a few minutes. For a bigger demo have a look into the example implementation.

CTFuzzyIndex *index = [CTFuzzyIndex new];

// Add words to the index, these can be hundreds of thousands
[index addWordsFromString:@"fuzzy string searching using CTFuzzySearch" options:CTFuzzyIndexIncludeRanges];

// Search the index for matches of word with 2 errors maximum
NSArray *matches = [index search:@"zearchin" withMaxDistance:2];
for(CTFuzzyMatch *match in matches) {
    NSLog("Found %d occurrences of matching word '%@'.", [match.data count], match.value);
}

Latest podspec

{
    "name": "CTFuzzySearch",
    "version": "1.0.1",
    "summary": "CTFuzzySearch is a lightweight framework for fast and fuzzy string searching.",
    "homepage": "https://github.com/cwimberger/ctfuzzysearch",
    "authors": {
        "Christoph Wimberger": "[email protected]"
    },
    "source": {
        "git": "https://github.com/cwimberger/ctfuzzysearch.git",
        "tag": "1.0.1"
    },
    "platforms": {
        "ios": null
    },
    "requires_arc": true,
    "source_files": "source/*",
    "license": "MIT"
}

Pin It on Pinterest

Share This